{
 "$schema": "https://schema.cloudformation.us-east-1.amazonaws.com/provider.definition.schema.v1.json",
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Ipv6CidrBlock",
  "/properties/SubnetId",
  "/properties/Ipv6IpamPoolId",
  "/properties/Ipv6NetmaskLength"
 ],
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Id": {
   "type": "string"
  },
  "IpSource": {
   "type": "string"
  },
  "Ipv6AddressAttribute": {
   "type": "string"
  },
  "Ipv6CidrBlock": {
   "format": "ipv6-network",
   "maxLength": 42,
   "type": "string"
  },
  "Ipv6IpamPoolId": {
   "type": "string"
  },
  "Ipv6NetmaskLength": {
   "maximum": 128,
   "minimum": 0,
   "type": "integer"
  },
  "SubnetId": {
   "format": "AWS::EC2::Subnet.Id",
   "type": "string"
  }
 },
 "propertyTransform": {
  "/properties/Ipv6CidrBlock": "$join([$match($replace(Ipv6CidrBlock, /(^|:)(0{1,4})([0-9a-fA-F]{1,4})/, \"$1$3\"), /^([0-9a-fA-F]{1,4}:){4}/).match, \":/64\"])"
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Ipv6AddressAttribute",
  "/properties/IpSource"
 ],
 "required": [
  "SubnetId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2/subnetcidrblock",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::EC2::SubnetCidrBlock",
 "writeOnlyProperties": [
  "/properties/Ipv6IpamPoolId",
  "/properties/Ipv6NetmaskLength"
 ]
}
