{
  "typeName" : "AWS::EC2::LocalGatewayVirtualInterfaceGroup",
  "description" : "Resource Type definition for LocalGatewayVirtualInterfaceGroup which describes a group of LocalGateway VirtualInterfaces",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git",
  "definitions" : {
    "Tags" : {
      "description" : "An array of key-value pairs to associate with a resource, each pair must be unique.",
      "type" : "array",
      "insertionOrder" : false,
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    },
    "Tag" : {
      "description" : "A key-value pair to associate with a resource.",
      "type" : "object",
      "properties" : {
        "Key" : {
          "type" : "string",
          "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 -.",
          "minLength" : 1,
          "maxLength" : 127,
          "pattern" : "^(?!aws:.*)"
        },
        "Value" : {
          "type" : "string",
          "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 -.",
          "minLength" : 1,
          "maxLength" : 255,
          "pattern" : "^(?!aws:.*)"
        }
      },
      "additionalProperties" : false
    }
  },
  "properties" : {
    "LocalGatewayVirtualInterfaceGroupId" : {
      "description" : "The ID of the virtual interface group",
      "type" : "string"
    },
    "LocalGatewayVirtualInterfaceIds" : {
      "description" : "The IDs of the virtual interfaces",
      "type" : "array",
      "uniqueItems" : true,
      "insertionOrder" : false,
      "items" : {
        "type" : "string"
      }
    },
    "LocalGatewayId" : {
      "description" : "The ID of the local gateway",
      "type" : "string"
    },
    "OwnerId" : {
      "description" : "The ID of the Amazon Web Services account that owns the local gateway virtual interface group",
      "type" : "string"
    },
    "LocalBgpAsn" : {
      "description" : "The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP)",
      "type" : "integer"
    },
    "LocalBgpAsnExtended" : {
      "description" : "The extended 32-bit ASN for the local BGP configuration",
      "type" : "integer",
      "format" : "int64"
    },
    "LocalGatewayVirtualInterfaceGroupArn" : {
      "description" : "The Amazon Resource Number (ARN) of the local gateway virtual interface group",
      "type" : "string"
    },
    "ConfigurationState" : {
      "description" : "The current state of the local gateway virtual interface group",
      "type" : "string"
    },
    "Tags" : {
      "description" : "The tags assigned to the virtual interface group",
      "type" : "array",
      "uniqueItems" : true,
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    }
  },
  "required" : [ "LocalGatewayId" ],
  "createOnlyProperties" : [ "/properties/LocalGatewayId", "/properties/LocalBgpAsn", "/properties/LocalBgpAsnExtended" ],
  "readOnlyProperties" : [ "/properties/LocalGatewayVirtualInterfaceGroupArn", "/properties/LocalGatewayVirtualInterfaceGroupId", "/properties/LocalGatewayVirtualInterfaceIds", "/properties/OwnerId", "/properties/ConfigurationState" ],
  "primaryIdentifier" : [ "/properties/LocalGatewayVirtualInterfaceGroupId" ],
  "tagging" : {
    "taggable" : true,
    "tagOnCreate" : true,
    "tagUpdatable" : true,
    "cloudFormationSystemTags" : true,
    "tagProperty" : "/properties/Tags",
    "permissions" : [ "ec2:CreateTags", "ec2:DeleteTags", "ec2:DescribeTags" ]
  },
  "handlers" : {
    "create" : {
      "permissions" : [ "ec2:CreateLocalGatewayVirtualInterfaceGroup", "ec2:DescribeLocalGatewayVirtualInterfaceGroups", "ec2:CreateTags" ]
    },
    "read" : {
      "permissions" : [ "ec2:DescribeLocalGatewayVirtualInterfaceGroups", "ec2:DescribeTags" ]
    },
    "update" : {
      "permissions" : [ "ec2:DescribeLocalGatewayVirtualInterfaceGroups", "ec2:CreateTags", "ec2:DeleteTags", "ec2:DescribeTags" ]
    },
    "delete" : {
      "permissions" : [ "ec2:DeleteLocalGatewayVirtualInterfaceGroup", "ec2:DescribeLocalGatewayVirtualInterfaceGroups", "ec2:DeleteTags" ]
    },
    "list" : {
      "permissions" : [ "ec2:DescribeLocalGatewayVirtualInterfaceGroups" ]
    }
  },
  "replacementStrategy" : "delete_then_create",
  "additionalProperties" : false
}