{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apprunner-vpcingressconnection.json",
  "title": "AWSAppRunnerVpcIngressConnectionProperties",
  "description": "The AWS::AppRunner::VpcIngressConnection resource is an App Runner resource that specifies an App Runner VpcIngressConnection.. 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-vpcingressconnection.json",
    "sourceSha256": "c516bf9db7f6c00856d4f8b6e91060431c4d689d13a89b607d95db2f59077ca5"
  },
  "type": "object",
  "properties": {
    "VpcIngressConnectionName": {
      "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": "The customer-provided Vpc Ingress Connection name."
    },
    "ServiceArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 1011,
          "pattern": "arn:aws(-[\\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\\w|/|-){1,1011}"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of the service."
    },
    "IngressVpcConfiguration": {
      "$ref": "#/$defs/IngressVpcConfiguration"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::AppRunner::VpcIngressConnection",
  "primaryIdentifier": [
    "/properties/VpcIngressConnectionArn"
  ],
  "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": {
    "IngressVpcConfiguration": {
      "description": "The configuration of customer’s VPC and related VPC endpoint",
      "type": "object",
      "properties": {
        "VpcId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The ID of the VPC that the VPC endpoint is used in."
        },
        "VpcEndpointId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The ID of the VPC endpoint that your App Runner service connects to."
        }
      },
      "required": [
        "VpcId",
        "VpcEndpointId"
      ],
      "title": "AWSAppRunnerVpcIngressConnectionIngressVpcConfigurationDefinition",
      "additionalProperties": false
    },
    "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": "AWSAppRunnerVpcIngressConnectionTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "ServiceArn",
    "IngressVpcConfiguration"
  ],
  "createOnlyProperties": [
    "/properties/VpcIngressConnectionName",
    "/properties/ServiceArn",
    "/properties/Tags"
  ],
  "readOnlyProperties": [
    "/properties/VpcIngressConnectionArn",
    "/properties/DomainName",
    "/properties/Status"
  ]
}
