Class: Aws::SecurityHub::Types::AwsEc2NetworkAclEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEc2NetworkAclEntry
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-securityhub/types.rb
Overview
A rule for the network ACL. Each rule allows or denies access based on the IP address, traffic direction, port, and protocol.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cidr_block ⇒ String
The IPV4 network range for which to deny or allow access.
-
#egress ⇒ Boolean
Whether the rule is an egress rule.
-
#icmp_type_code ⇒ Types::IcmpTypeCode
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
-
#ipv_6_cidr_block ⇒ String
The IPV6 network range for which to deny or allow access.
-
#port_range ⇒ Types::PortRangeFromTo
For TCP or UDP protocols, the range of ports that the rule applies to.
-
#protocol ⇒ String
The protocol that the rule applies to.
-
#rule_action ⇒ String
Whether the rule is used to allow access or deny access.
-
#rule_number ⇒ Integer
The rule number.
Instance Attribute Details
#cidr_block ⇒ String
The IPV4 network range for which to deny or allow access.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#egress ⇒ Boolean
Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#icmp_type_code ⇒ Types::IcmpTypeCode
The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#ipv_6_cidr_block ⇒ String
The IPV6 network range for which to deny or allow access.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#port_range ⇒ Types::PortRangeFromTo
For TCP or UDP protocols, the range of ports that the rule applies to.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
The protocol that the rule applies to. To deny or allow access to all protocols, use the value ‘-1`.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#rule_action ⇒ String
Whether the rule is used to allow access or deny access.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |
#rule_number ⇒ Integer
The rule number. The rules are processed in order by their number.
8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 |
# File 'lib/aws-sdk-securityhub/types.rb', line 8258 class AwsEc2NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end |