{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-vpclattice-servicenetworkvpcassociation.json",
  "title": "AWSVpcLatticeServiceNetworkVpcAssociationProperties",
  "description": "Associates a VPC with a service network.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-vpclattice-servicenetworkvpcassociation.json",
    "sourceSha256": "b1206d69a4e15d38054bedf8fc50872493bbdef18ff3725291e967365ab87fd9"
  },
  "type": "object",
  "properties": {
    "SecurityGroupIds": {
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "maxLength": 200,
        "minLength": 0,
        "pattern": "^sg-(([0-9a-z]{8})|([0-9a-z]{17}))$"
      }
    },
    "ServiceNetworkIdentifier": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 20,
          "pattern": "^((sn-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetwork/sn-[0-9a-z]{17}))$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VpcIdentifier": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 5,
          "pattern": "^vpc-(([0-9a-z]{8})|([0-9a-z]{17}))$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": true,
      "minItems": 0,
      "maxItems": 50,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::VpcLattice::ServiceNetworkVpcAssociation",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "title": "AWSVpcLatticeServiceNetworkVpcAssociationTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "additionalIdentifiers": [
    [
      "/properties/Id"
    ],
    [
      "/properties/ServiceNetworkIdentifier",
      "/properties/VpcIdentifier"
    ]
  ],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/CreatedAt",
    "/properties/Id",
    "/properties/ServiceNetworkArn",
    "/properties/ServiceNetworkId",
    "/properties/ServiceNetworkName",
    "/properties/Status",
    "/properties/VpcId"
  ],
  "writeOnlyProperties": [
    "/properties/ServiceNetworkIdentifier",
    "/properties/VpcIdentifier"
  ],
  "createOnlyProperties": [
    "/properties/ServiceNetworkIdentifier",
    "/properties/VpcIdentifier"
  ],
  "primaryIdentifier": [
    "/properties/Arn"
  ]
}
