|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.
The ID representing the current association between the original network ACL and the subnet.
The ID of the new ACL to associate with the subnet.
The following elements are returned in a
The ID of the request.
The ID of the new association.
This example starts with a network ACL associated with a subnet, and a corresponding association ID aclassoc-e5b95c8c. You want to associate a different network ACL (acl-5fb85d36) with the subnet. The result is a new association ID representing the new association.
https://ec2.amazonaws.com/?Action=ReplaceNetworkAclAssociation &AssociationId=aclassoc-e5b95c8c &NetworkAclId=acl-5fb85d36 &AUTHPARAMS
<ReplaceNetworkAclAssociationResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <newAssociationId>aclassoc-17b85d7e</newAssociationId> </ReplaceNetworkAclAssociationResponse>