{
 "additionalIdentifiers": [
  [
   "/properties/CoreNetworkId",
   "/properties/VpcArn"
  ]
 ],
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/CoreNetworkId",
  "/properties/VpcArn"
 ],
 "definitions": {
  "ProposedNetworkFunctionGroupChange": {
   "additionalProperties": false,
   "properties": {
    "AttachmentPolicyRuleNumber": {
     "type": "integer"
    },
    "NetworkFunctionGroupName": {
     "type": "string"
    },
    "Tags": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/Tag"
     },
     "type": "array",
     "uniqueItems": true
    }
   },
   "type": "object"
  },
  "ProposedSegmentChange": {
   "additionalProperties": false,
   "properties": {
    "AttachmentPolicyRuleNumber": {
     "type": "integer"
    },
    "SegmentName": {
     "type": "string"
    },
    "Tags": {
     "insertionOrder": false,
     "items": {
      "$ref": "#/definitions/Tag"
     },
     "type": "array",
     "uniqueItems": true
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "VpcOptions": {
   "additionalProperties": false,
   "properties": {
    "ApplianceModeSupport": {
     "default": false,
     "type": "boolean"
    },
    "DnsSupport": {
     "default": true,
     "type": "boolean"
    },
    "Ipv6Support": {
     "default": false,
     "type": "boolean"
    },
    "SecurityGroupReferencingSupport": {
     "default": true,
     "type": "boolean"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/AttachmentId"
 ],
 "properties": {
  "AttachmentId": {
   "type": "string"
  },
  "AttachmentPolicyRuleNumber": {
   "type": "integer"
  },
  "AttachmentType": {
   "type": "string"
  },
  "CoreNetworkArn": {
   "type": "string"
  },
  "CoreNetworkId": {
   "maxLength": 50,
   "minLength": 0,
   "pattern": "^core-network-([0-9a-f]{8,17})$",
   "type": "string"
  },
  "CreatedAt": {
   "type": "string"
  },
  "EdgeLocation": {
   "type": "string"
  },
  "LastModificationErrors": {
   "items": {
    "type": "string"
   },
   "type": "array"
  },
  "NetworkFunctionGroupName": {
   "type": "string"
  },
  "Options": {
   "$ref": "#/definitions/VpcOptions"
  },
  "OwnerAccountId": {
   "type": "string"
  },
  "ProposedNetworkFunctionGroupChange": {
   "$ref": "#/definitions/ProposedNetworkFunctionGroupChange"
  },
  "ProposedSegmentChange": {
   "$ref": "#/definitions/ProposedSegmentChange"
  },
  "ResourceArn": {
   "type": "string"
  },
  "SegmentName": {
   "type": "string"
  },
  "State": {
   "type": "string"
  },
  "SubnetArns": {
   "insertionOrder": false,
   "items": {
    "maxLength": 500,
    "minLength": 0,
    "pattern": "^arn:[^:]{1,63}:ec2:[^:]{0,63}:[^:]{0,63}:subnet\\/subnet-[0-9a-f]{8,17}$|^$",
    "type": "string"
   },
   "type": "array"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": true
  },
  "UpdatedAt": {
   "type": "string"
  },
  "VpcArn": {
   "maxLength": 500,
   "minLength": 0,
   "pattern": "^arn:[^:]{1,63}:ec2:[^:]{0,63}:[^:]{0,63}:vpc\\/vpc-[0-9a-f]{8,17}$",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/CoreNetworkArn",
  "/properties/CreatedAt",
  "/properties/UpdatedAt",
  "/properties/AttachmentType",
  "/properties/State",
  "/properties/AttachmentId",
  "/properties/OwnerAccountId",
  "/properties/EdgeLocation",
  "/properties/AttachmentPolicyRuleNumber",
  "/properties/SegmentName",
  "/properties/NetworkFunctionGroupName",
  "/properties/ResourceArn",
  "/properties/LastModificationErrors"
 ],
 "required": [
  "CoreNetworkId",
  "VpcArn",
  "SubnetArns"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::NetworkManager::VpcAttachment"
}
