amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.NetworkAclEntry

Description

 
Synopsis

Documentation

data NetworkAclEntry Source #

Describes an entry in a network ACL.

See: newNetworkAclEntry smart constructor.

Constructors

NetworkAclEntry' 

Fields

Instances

Instances details
FromXML NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

Generic NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

Associated Types

type Rep NetworkAclEntry :: Type -> Type #

Read NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

Show NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

NFData NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

Methods

rnf :: NetworkAclEntry -> () #

Eq NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

Hashable NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

type Rep NetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.Types.NetworkAclEntry

newNetworkAclEntry :: NetworkAclEntry Source #

Create a value of NetworkAclEntry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cidrBlock:NetworkAclEntry', networkAclEntry_cidrBlock - The IPv4 network range to allow or deny, in CIDR notation.

$sel:egress:NetworkAclEntry', networkAclEntry_egress - Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

$sel:icmpTypeCode:NetworkAclEntry', networkAclEntry_icmpTypeCode - ICMP protocol: The ICMP type and code.

$sel:ipv6CidrBlock:NetworkAclEntry', networkAclEntry_ipv6CidrBlock - The IPv6 network range to allow or deny, in CIDR notation.

$sel:portRange:NetworkAclEntry', networkAclEntry_portRange - TCP or UDP protocols: The range of ports the rule applies to.

$sel:protocol:NetworkAclEntry', networkAclEntry_protocol - The protocol number. A value of "-1" means all protocols.

$sel:ruleAction:NetworkAclEntry', networkAclEntry_ruleAction - Indicates whether to allow or deny the traffic that matches the rule.

$sel:ruleNumber:NetworkAclEntry', networkAclEntry_ruleNumber - The rule number for the entry. ACL entries are processed in ascending order by rule number.

networkAclEntry_cidrBlock :: Lens' NetworkAclEntry (Maybe Text) Source #

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

networkAclEntry_egress :: Lens' NetworkAclEntry (Maybe Bool) Source #

Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

networkAclEntry_icmpTypeCode :: Lens' NetworkAclEntry (Maybe IcmpTypeCode) Source #

ICMP protocol: The ICMP type and code.

networkAclEntry_ipv6CidrBlock :: Lens' NetworkAclEntry (Maybe Text) Source #

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

networkAclEntry_portRange :: Lens' NetworkAclEntry (Maybe PortRange) Source #

TCP or UDP protocols: The range of ports the rule applies to.

networkAclEntry_protocol :: Lens' NetworkAclEntry (Maybe Text) Source #

The protocol number. A value of "-1" means all protocols.

networkAclEntry_ruleAction :: Lens' NetworkAclEntry (Maybe RuleAction) Source #

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

networkAclEntry_ruleNumber :: Lens' NetworkAclEntry (Maybe Int) Source #

The rule number for the entry. ACL entries are processed in ascending order by rule number.