amazonka-ec2-0.0.3: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone




Replaces an entry (rule) in a network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.



Request constructor

Request lenses

rnaeCidrBlock :: Lens' ReplaceNetworkAclEntry Text Source

The network range to allow or deny, in CIDR notation.

rnaeEgress :: Lens' ReplaceNetworkAclEntry Bool Source

Indicates whether to replace the egress rule.

Default: If no value is specified, we replace the ingress rule.

rnaeIcmpTypeCode :: Lens' ReplaceNetworkAclEntry (Maybe IcmpTypeCode) Source

ICMP protocol: The ICMP type and code. Required if specifying 1 (ICMP) for the protocol.

rnaePortRange :: Lens' ReplaceNetworkAclEntry (Maybe PortRange) Source

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying 6 (TCP) or 17 (UDP) for the protocol.

rnaeProtocol :: Lens' ReplaceNetworkAclEntry Text Source

The IP protocol. You can specify all or '-1' to mean all protocols.

rnaeRuleAction :: Lens' ReplaceNetworkAclEntry RuleAction Source

Indicates whether to allow or deny the traffic that matches the rule.

rnaeRuleNumber :: Lens' ReplaceNetworkAclEntry Int Source

The rule number of the entry to replace.


Response constructor