HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ec2/replace-network-acl-association.rst
**To replace the network ACL associated with a subnet**

This example associates the specified network ACL with the subnet for the specified network ACL association.

Command::

  aws ec2 replace-network-acl-association --association-id aclassoc-e5b95c8c --network-acl-id acl-5fb85d36

Output::

  {
      "NewAssociationId": "aclassoc-3999875b"
  }