ReplaceRouteTableAssociation#

Description#

Changes the route table associated with a given subnet in a VPC.

Request Parameters#

  • AssociationId — The ID of the association.

    • Type: String

    • Required: Yes

  • RouteTableId — The ID of the route table.

    • Type: String

    • Required: Yes

Response Elements#

  • newAssociationId — The ID of the new association.

    • Type: String

  • requestId — The request ID.

    • Type: String

  • returnTrue is returned if the request succeeds and an error otherwise.

    • Type: Boolean

Examples#

c2-ec2 ReplaceRouteTableAssociation RouteTableId rtb-12345678 AssociationId rtbassoc-12345678