{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-networkmanager-sitetositevpnattachment.json",
  "title": "AWSNetworkManagerSiteToSiteVpnAttachmentProperties",
  "description": "AWS::NetworkManager::SiteToSiteVpnAttachment Resource Type definition.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-networkmanager-sitetositevpnattachment.json",
    "sourceSha256": "8788b01c92baf22b59fa87334f04992069d64ce8a7bf7b57446db579570e0f70"
  },
  "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 where you're creating a site-to-site VPN attachment."
    },
    "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"
      }
    },
    "VpnConnectionArn": {
      "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 site-to-site VPN attachment."
    }
  },
  "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment",
  "required": [
    "CoreNetworkId",
    "VpnConnectionArn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment",
  "additionalIdentifiers": [
    [
      "/properties/CoreNetworkId",
      "/properties/VpnConnectionArn"
    ]
  ],
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "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",
          "insertionOrder": false,
          "uniqueItems": true,
          "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": "AWSNetworkManagerSiteToSiteVpnAttachmentProposedSegmentChangeDefinition",
      "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": "AWSNetworkManagerSiteToSiteVpnAttachmentTagDefinition",
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/CoreNetworkId",
    "/properties/VpnConnectionArn"
  ],
  "readOnlyProperties": [
    "/properties/CoreNetworkArn",
    "/properties/CreatedAt",
    "/properties/UpdatedAt",
    "/properties/AttachmentType",
    "/properties/State",
    "/properties/ResourceArn",
    "/properties/AttachmentId",
    "/properties/OwnerAccountId",
    "/properties/EdgeLocation",
    "/properties/AttachmentPolicyRuleNumber",
    "/properties/SegmentName"
  ],
  "primaryIdentifier": [
    "/properties/AttachmentId"
  ]
}
