{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-networkmanager-vpcattachment.json",
  "title": "AWSNetworkManagerVpcAttachmentProperties",
  "description": "AWS::NetworkManager::VpcAttachment Resoruce Type. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-networkmanager-vpcattachment.json",
    "sourceSha256": "b0e320ad59a397420a8a2b326a9bfa955c28d2d0163684c420c02f52d8ce4a81"
  },
  "type": "object",
  "properties": {
    "CoreNetworkId": {
      "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 a core network for the VPC attachment."
    },
    "VpcArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN of the VPC."
    },
    "ProposedSegmentChange": {
      "description": "The attachment to move from one segment to another.",
      "$ref": "#/$defs/ProposedSegmentChange"
    },
    "Tags": {
      "description": "Tags for the attachment.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "SubnetArns": {
      "description": "Subnet Arn list",
      "type": "array",
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "Options": {
      "description": "Vpc options of the attachment.",
      "$ref": "#/$defs/VpcOptions"
    }
  },
  "typeName": "AWS::NetworkManager::VpcAttachment",
  "additionalIdentifiers": [
    [
      "/properties/CoreNetworkId",
      "/properties/VpcArn"
    ]
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment",
  "primaryIdentifier": [
    "/properties/AttachmentId"
  ],
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "VpcOptions": {
      "description": "Vpc options of the attachment.",
      "type": "object",
      "properties": {
        "Ipv6Support": {
          "description": "Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable",
          "type": "boolean",
          "default": false
        },
        "ApplianceModeSupport": {
          "description": "Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false",
          "type": "boolean",
          "default": false
        }
      },
      "title": "AWSNetworkManagerVpcAttachmentVpcOptionsDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "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"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSNetworkManagerVpcAttachmentTagDefinition",
      "additionalProperties": false
    },
    "ProposedSegmentChange": {
      "description": "The attachment to move from one segment to another.",
      "type": "object",
      "properties": {
        "Tags": {
          "description": "The key-value tags that changed for the segment.",
          "type": "array",
          "uniqueItems": true,
          "insertionOrder": false,
          "items": {
            "$ref": "#/$defs/Tag"
          }
        },
        "AttachmentPolicyRuleNumber": {
          "description": "The rule number in the policy document that applies to this change.",
          "type": "integer"
        },
        "SegmentName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the segment to change."
        }
      },
      "title": "AWSNetworkManagerVpcAttachmentProposedSegmentChangeDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "CoreNetworkId",
    "VpcArn",
    "SubnetArns"
  ],
  "createOnlyProperties": [
    "/properties/CoreNetworkId",
    "/properties/VpcArn"
  ],
  "readOnlyProperties": [
    "/properties/CoreNetworkArn",
    "/properties/CreatedAt",
    "/properties/UpdatedAt",
    "/properties/AttachmentType",
    "/properties/State",
    "/properties/AttachmentId",
    "/properties/OwnerAccountId",
    "/properties/EdgeLocation",
    "/properties/AttachmentPolicyRuleNumber",
    "/properties/SegmentName",
    "/properties/ResourceArn"
  ]
}
