{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apprunner-vpcconnector.json",
  "title": "AWSAppRunnerVpcConnectorProperties",
  "description": "The AWS::AppRunner::VpcConnector resource specifies an App Runner VpcConnector.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apprunner.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apprunner-vpcconnector.json",
    "sourceSha256": "7616ecf3bc056dea9f697a390340587d4ccdde44d84306765099f4053f97cf3b"
  },
  "type": "object",
  "properties": {
    "VpcConnectorName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 4,
          "maxLength": 40,
          "pattern": "^[A-Za-z0-9][A-Za-z0-9-\\\\_]{3,39}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector."
    },
    "Subnets": {
      "description": "A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "minItems": 1,
      "items": {
        "type": "string"
      }
    },
    "SecurityGroups": {
      "description": "A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "Tags": {
      "description": "A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::AppRunner::VpcConnector",
  "primaryIdentifier": [
    "/properties/VpcConnectorArn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apprunner.git",
  "additionalProperties": false,
  "writeOnlyProperties": [
    "/properties/Tags"
  ],
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSAppRunnerVpcConnectorTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "Subnets"
  ],
  "createOnlyProperties": [
    "/properties/VpcConnectorName",
    "/properties/Subnets",
    "/properties/SecurityGroups",
    "/properties/Tags"
  ],
  "readOnlyProperties": [
    "/properties/VpcConnectorArn",
    "/properties/VpcConnectorRevision"
  ]
}
