{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-quicksight-vpcconnection.json",
  "title": "AWSQuickSightVPCConnectionProperties",
  "description": "Definition of the AWS::QuickSight::VPCConnection Resource Type.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-quicksight-vpcconnection.json",
    "sourceSha256": "bf60da9fb512194ae33d1be2ecbd09c9a5d89728f749a033a9aac330f397af48"
  },
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 12,
          "minLength": 12,
          "pattern": "^[0-9]{12}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VPCConnectionId": {
      "$ref": "#/$defs/VPCConnectionId"
    },
    "SecurityGroupIds": {
      "$ref": "#/$defs/SecurityGroupIds"
    },
    "SubnetIds": {
      "$ref": "#/$defs/SubnetIds"
    },
    "DnsResolvers": {
      "$ref": "#/$defs/DnsResolvers"
    },
    "AvailabilityStatus": {
      "$ref": "#/$defs/VPCConnectionAvailabilityStatus"
    },
    "RoleArn": {
      "$ref": "#/$defs/RoleArn"
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    }
  },
  "typeName": "AWS::QuickSight::VPCConnection",
  "primaryIdentifier": [
    "/properties/AwsAccountId",
    "/properties/VPCConnectionId"
  ],
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/CreatedTime",
    "/properties/LastUpdatedTime",
    "/properties/NetworkInterfaces",
    "/properties/Status",
    "/properties/VPCId"
  ],
  "$defs": {
    "Arn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionArnDefinition"
    },
    "DnsResolvers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "insertionOrder": false,
      "title": "AWSQuickSightVPCConnectionDnsResolversDefinition"
    },
    "NetworkInterfaces": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NetworkInterface"
      },
      "maxItems": 15,
      "insertionOrder": false,
      "title": "AWSQuickSightVPCConnectionNetworkInterfacesDefinition"
    },
    "NetworkInterface": {
      "type": "object",
      "properties": {
        "SubnetId": {
          "$ref": "#/$defs/SubnetId"
        },
        "AvailabilityZone": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ErrorMessage": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Status": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "CREATING",
                "AVAILABLE",
                "CREATION_FAILED",
                "UPDATING",
                "UPDATE_FAILED",
                "DELETING",
                "DELETED",
                "DELETION_FAILED",
                "DELETION_SCHEDULED",
                "ATTACHMENT_FAILED_ROLLBACK_FAILED"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "NetworkInterfaceId": {
          "$ref": "#/$defs/NetworkInterfaceId"
        }
      },
      "title": "AWSQuickSightVPCConnectionNetworkInterfaceDefinition",
      "required": [],
      "additionalProperties": false
    },
    "NetworkInterfaceId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^eni-[0-9a-z]*$",
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionNetworkInterfaceIdDefinition"
    },
    "RoleArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionRoleArnDefinition"
    },
    "SecurityGroupIds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SecurityGroupId"
      },
      "maxItems": 16,
      "minItems": 1,
      "insertionOrder": false,
      "title": "AWSQuickSightVPCConnectionSecurityGroupIdsDefinition"
    },
    "SecurityGroupId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^sg-[0-9a-z]*$",
          "maxItems": 255,
          "minItems": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionSecurityGroupIdDefinition"
    },
    "SubnetIds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubnetId"
      },
      "maxItems": 15,
      "minItems": 2,
      "insertionOrder": false,
      "title": "AWSQuickSightVPCConnectionSubnetIdsDefinition"
    },
    "SubnetId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^subnet-[0-9a-z]*$",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionSubnetIdDefinition"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "maxItems": 200,
      "minItems": 1,
      "insertionOrder": false,
      "title": "AWSQuickSightVPCConnectionTagsDefinition"
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSQuickSightVPCConnectionTagDefinition",
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    },
    "VPCConnectionId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 1000,
          "minLength": 1,
          "pattern": "[\\w\\-]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionVPCConnectionIdDefinition"
    },
    "VPCId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionVPCIdDefinition"
    },
    "VPCConnectionResourceStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CREATION_IN_PROGRESS",
            "CREATION_SUCCESSFUL",
            "CREATION_FAILED",
            "UPDATE_IN_PROGRESS",
            "UPDATE_SUCCESSFUL",
            "UPDATE_FAILED",
            "DELETION_IN_PROGRESS",
            "DELETION_FAILED",
            "DELETED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionVPCConnectionResourceStatusDefinition"
    },
    "VPCConnectionAvailabilityStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "AVAILABLE",
            "UNAVAILABLE",
            "PARTIALLY_AVAILABLE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightVPCConnectionVPCConnectionAvailabilityStatusDefinition"
    }
  },
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "createOnlyProperties": [
    "/properties/AwsAccountId",
    "/properties/VPCConnectionId"
  ],
  "writeOnlyProperties": [
    "/properties/SubnetIds"
  ]
}
