{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-transitgatewaypeeringattachment.json",
  "title": "AWSEC2TransitGatewayPeeringAttachmentProperties",
  "description": "The AWS::EC2::TransitGatewayPeeringAttachment type. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-transitgatewaypeeringattachment.json",
    "sourceSha256": "bfc4e5635093c336c62cc86b8df84e4abda3f89e66a60bd98632d76d02da597f"
  },
  "type": "object",
  "properties": {
    "TransitGatewayId": {
      "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 transit gateway."
    },
    "PeerTransitGatewayId": {
      "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 peer transit gateway."
    },
    "PeerAccountId": {
      "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 peer account"
    },
    "PeerRegion": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Peer Region"
    },
    "Tags": {
      "description": "The tags for the transit gateway peering attachment.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice",
  "typeName": "AWS::EC2::TransitGatewayPeeringAttachment",
  "readOnlyProperties": [
    "/properties/TransitGatewayAttachmentId",
    "/properties/Status",
    "/properties/State",
    "/properties/CreationTime"
  ],
  "required": [
    "TransitGatewayId",
    "PeerTransitGatewayId",
    "PeerAccountId",
    "PeerRegion"
  ],
  "createOnlyProperties": [
    "/properties/TransitGatewayId",
    "/properties/PeerTransitGatewayId",
    "/properties/PeerRegion",
    "/properties/PeerAccountId"
  ],
  "$defs": {
    "Tag": {
      "title": "AWSEC2TransitGatewayPeeringAttachmentTagDefinition",
      "type": "object",
      "properties": {
        "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 of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters."
        },
        "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 of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        }
      },
      "additionalProperties": false
    },
    "PeeringAttachmentStatus": {
      "title": "AWSEC2TransitGatewayPeeringAttachmentPeeringAttachmentStatusDefinition",
      "type": "object",
      "properties": {
        "Message": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The status message, if applicable."
        },
        "Code": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The status code."
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/TransitGatewayAttachmentId"
  ],
  "additionalProperties": false
}
