{
  "typeName" : "AWS::EC2::SubnetRouteTableAssociation",
  "description" : "Resource Type definition for AWS::EC2::SubnetRouteTableAssociation",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2.git",
  "additionalProperties" : false,
  "properties" : {
    "Id" : {
      "type" : "string"
    },
    "RouteTableId" : {
      "type" : "string"
    },
    "SubnetId" : {
      "type" : "string"
    }
  },
  "tagging" : {
    "taggable" : false,
    "tagOnCreate" : false,
    "tagUpdatable" : false,
    "cloudFormationSystemTags" : false
  },
  "required" : [ "RouteTableId", "SubnetId" ],
  "createOnlyProperties" : [ "/properties/SubnetId", "/properties/RouteTableId" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "ec2:AssociateRouteTable", "ec2:ReplaceRouteTableAssociation", "ec2:DescribeSubnets", "ec2:DescribeRouteTables" ]
    },
    "read" : {
      "permissions" : [ "ec2:DescribeRouteTables" ]
    },
    "delete" : {
      "permissions" : [ "ec2:DisassociateRouteTable", "ec2:DescribeSubnets", "ec2:DescribeRouteTables" ]
    },
    "list" : {
      "permissions" : [ "ec2:DescribeRouteTables" ]
    }
  }
}