{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-mediaconnect-flowvpcinterface.json",
  "title": "AWSMediaConnectFlowVpcInterfaceProperties",
  "description": "Resource schema for AWS::MediaConnect::FlowVpcInterface. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-mediaconnect.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-mediaconnect-flowvpcinterface.json",
    "sourceSha256": "9ae24be33cd5ee628010e53d8fae2c527165e22534c15f79d46d024668f4c1b3"
  },
  "type": "object",
  "properties": {
    "FlowArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow."
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Immutable and has to be a unique against other VpcInterfaces in this Flow."
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Role Arn MediaConnect can assumes to create ENIs in customer's account."
    },
    "SecurityGroupIds": {
      "type": "array",
      "description": "Security Group IDs to be used on ENI.",
      "items": {
        "type": "string"
      }
    },
    "SubnetId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Subnet must be in the AZ of the Flow"
    }
  },
  "typeName": "AWS::MediaConnect::FlowVpcInterface",
  "createOnlyProperties": [
    "/properties/FlowArn",
    "/properties/Name"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-mediaconnect.git",
  "readOnlyProperties": [
    "/properties/NetworkInterfaceIds"
  ],
  "additionalProperties": false,
  "required": [
    "FlowArn",
    "Name",
    "RoleArn",
    "SubnetId",
    "SecurityGroupIds"
  ],
  "primaryIdentifier": [
    "/properties/FlowArn",
    "/properties/Name"
  ]
}
