Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NetworkAclEntry = NetworkAclEntry' {}
- newNetworkAclEntry :: NetworkAclEntry
- networkAclEntry_cidrBlock :: Lens' NetworkAclEntry (Maybe Text)
- networkAclEntry_egress :: Lens' NetworkAclEntry (Maybe Bool)
- networkAclEntry_icmpTypeCode :: Lens' NetworkAclEntry (Maybe IcmpTypeCode)
- networkAclEntry_ipv6CidrBlock :: Lens' NetworkAclEntry (Maybe Text)
- networkAclEntry_portRange :: Lens' NetworkAclEntry (Maybe PortRange)
- networkAclEntry_protocol :: Lens' NetworkAclEntry (Maybe Text)
- networkAclEntry_ruleAction :: Lens' NetworkAclEntry (Maybe RuleAction)
- networkAclEntry_ruleNumber :: Lens' NetworkAclEntry (Maybe Int)
Documentation
data NetworkAclEntry Source #
Describes an entry in a network ACL.
See: newNetworkAclEntry
smart constructor.
NetworkAclEntry' | |
|
Instances
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.