{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/AllocationId",
  "/properties/NetworkInterfaceId",
  "/properties/InstanceId",
  "/properties/PrivateIpAddress",
  "/properties/EIP"
 ],
 "deprecatedProperties": [
  "/properties/EIP"
 ],
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "AllocationId": {
   "type": "string"
  },
  "EIP": {
   "anyOf": [
    {
     "relationshipRef": {
      "propertyPath": "/properties/PublicIp",
      "typeName": "AWS::EC2::EIP"
     }
    },
    {
     "relationshipRef": {
      "propertyPath": "/properties/AllocationId",
      "typeName": "AWS::EC2::EIP"
     }
    }
   ],
   "type": "string"
  },
  "Id": {
   "type": "string"
  },
  "InstanceId": {
   "type": "string"
  },
  "NetworkInterfaceId": {
   "type": "string"
  },
  "PrivateIpAddress": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "replacementStrategy": "delete_then_create",
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2/tree/master/aws-ec2-eipassociation",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::EC2::EIPAssociation"
}
