| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsEc2NetworkAclEntry
Description
Synopsis
- data AwsEc2NetworkAclEntry = AwsEc2NetworkAclEntry' {}
- newAwsEc2NetworkAclEntry :: AwsEc2NetworkAclEntry
- awsEc2NetworkAclEntry_ipv6CidrBlock :: Lens' AwsEc2NetworkAclEntry (Maybe Text)
- awsEc2NetworkAclEntry_icmpTypeCode :: Lens' AwsEc2NetworkAclEntry (Maybe IcmpTypeCode)
- awsEc2NetworkAclEntry_ruleNumber :: Lens' AwsEc2NetworkAclEntry (Maybe Int)
- awsEc2NetworkAclEntry_ruleAction :: Lens' AwsEc2NetworkAclEntry (Maybe Text)
- awsEc2NetworkAclEntry_protocol :: Lens' AwsEc2NetworkAclEntry (Maybe Text)
- awsEc2NetworkAclEntry_portRange :: Lens' AwsEc2NetworkAclEntry (Maybe PortRangeFromTo)
- awsEc2NetworkAclEntry_cidrBlock :: Lens' AwsEc2NetworkAclEntry (Maybe Text)
- awsEc2NetworkAclEntry_egress :: Lens' AwsEc2NetworkAclEntry (Maybe Bool)
Documentation
data AwsEc2NetworkAclEntry Source #
A rule for the network ACL. Each rule allows or denies access based on the IP address, traffic direction, port, and protocol.
See: newAwsEc2NetworkAclEntry smart constructor.
Constructors
| AwsEc2NetworkAclEntry' | |
Fields
| |
Instances
newAwsEc2NetworkAclEntry :: AwsEc2NetworkAclEntry Source #
Create a value of AwsEc2NetworkAclEntry 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:ipv6CidrBlock:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_ipv6CidrBlock - The IPV6 network range for which to deny or allow access.
$sel:icmpTypeCode:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_icmpTypeCode - The Internet Control Message Protocol (ICMP) type and code for which to
deny or allow access.
$sel:ruleNumber:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_ruleNumber - The rule number. The rules are processed in order by their number.
$sel:ruleAction:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_ruleAction - Whether the rule is used to allow access or deny access.
$sel:protocol:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_protocol - The protocol that the rule applies to. To deny or allow access to all
protocols, use the value -1.
$sel:portRange:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_portRange - For TCP or UDP protocols, the range of ports that the rule applies to.
$sel:cidrBlock:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_cidrBlock - The IPV4 network range for which to deny or allow access.
$sel:egress:AwsEc2NetworkAclEntry', awsEc2NetworkAclEntry_egress - Whether the rule is an egress rule. An egress rule is a rule that
applies to traffic that leaves the subnet.
awsEc2NetworkAclEntry_ipv6CidrBlock :: Lens' AwsEc2NetworkAclEntry (Maybe Text) Source #
The IPV6 network range for which to deny or allow access.
awsEc2NetworkAclEntry_icmpTypeCode :: Lens' AwsEc2NetworkAclEntry (Maybe IcmpTypeCode) Source #
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
awsEc2NetworkAclEntry_ruleNumber :: Lens' AwsEc2NetworkAclEntry (Maybe Int) Source #
The rule number. The rules are processed in order by their number.
awsEc2NetworkAclEntry_ruleAction :: Lens' AwsEc2NetworkAclEntry (Maybe Text) Source #
Whether the rule is used to allow access or deny access.
awsEc2NetworkAclEntry_protocol :: Lens' AwsEc2NetworkAclEntry (Maybe Text) Source #
The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.
awsEc2NetworkAclEntry_portRange :: Lens' AwsEc2NetworkAclEntry (Maybe PortRangeFromTo) Source #
For TCP or UDP protocols, the range of ports that the rule applies to.
awsEc2NetworkAclEntry_cidrBlock :: Lens' AwsEc2NetworkAclEntry (Maybe Text) Source #
The IPV4 network range for which to deny or allow access.
awsEc2NetworkAclEntry_egress :: Lens' AwsEc2NetworkAclEntry (Maybe Bool) Source #
Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.