class AWS::EC2::NetworkACL::Association

def replace_network_acl network_acl

Returns:
  • (nil) -

Parameters:
  • network_acl (NetworkACL, String) -- A {NetworkACL} object or
def replace_network_acl network_acl
  acl_id = network_acl.is_a?(NetworkACL) ? network_acl.id : network_acl
  subnet.client.replace_network_acl_association(
    :association_id => association_id,
    :network_acl_id => acl_id)
  nil
end