{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-medialive-input.json",
  "title": "AWSMediaLiveInputProperties",
  "description": "Resource Type definition for AWS::MediaLive::Input. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-medialive-input.json",
    "sourceSha256": "fff5b62faa7b859368e032531bb1fc203c843058c8be9845ee35f9dd57e34f57"
  },
  "type": "object",
  "properties": {
    "Type": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Destinations": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/InputDestinationRequest"
      }
    },
    "Vpc": {
      "$ref": "#/$defs/InputVpcRequest"
    },
    "MediaConnectFlows": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/MediaConnectFlowRequest"
      }
    },
    "InputSecurityGroups": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "Sources": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/InputSourceRequest"
      }
    },
    "InputDevices": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/InputDeviceSettings"
      }
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "object"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::MediaLive::Input",
  "readOnlyProperties": [
    "/properties/Id",
    "/properties/Arn"
  ],
  "$defs": {
    "InputSourceRequest": {
      "type": "object",
      "title": "AWSMediaLiveInputInputSourceRequestDefinition",
      "properties": {
        "PasswordParam": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Username": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Url": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "InputDeviceSettings": {
      "type": "object",
      "title": "AWSMediaLiveInputInputDeviceSettingsDefinition",
      "properties": {
        "Id": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "InputDestinationRequest": {
      "type": "object",
      "title": "AWSMediaLiveInputInputDestinationRequestDefinition",
      "properties": {
        "StreamName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "InputVpcRequest": {
      "type": "object",
      "title": "AWSMediaLiveInputInputVpcRequestDefinition",
      "properties": {
        "SecurityGroupIds": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "SubnetIds": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "MediaConnectFlowRequest": {
      "type": "object",
      "title": "AWSMediaLiveInputMediaConnectFlowRequestDefinition",
      "properties": {
        "FlowArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/Vpc",
    "/properties/Type"
  ]
}
