aws ec2 replace-network-acl-entry
Replaces an entry (rule) in a network ACL. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--cidr-blockThe IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--icmp-type-codeICMP protocol: The ICMP or ICMPv6 type and code.--ingress, --egressIndicates whether to replace the egress rule.--ipv6-cidr-blockThe IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64).--network-acl-idThe ID of the ACL.--port-rangeTCP or UDP protocols: The range of ports the rule applies to.--protocolThe protocol number.--rule-actionIndicates whether to allow or deny the traffic that matches the rule.--rule-numberThe rule number of the entry to replace.