Class: Aws::EC2::Types::NetworkAclEntry
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::EC2::Types::NetworkAclEntry
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-ec2/types.rb
 
Overview
Describes an entry in a network ACL.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #cidr_block  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The IPv4 network range to allow or deny, in CIDR notation.
 - 
  
    
      #egress  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
 - 
  
    
      #icmp_type_code  ⇒ Types::IcmpTypeCode 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
ICMP protocol: The ICMP type and code.
 - 
  
    
      #ipv_6_cidr_block  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The IPv6 network range to allow or deny, in CIDR notation.
 - 
  
    
      #port_range  ⇒ Types::PortRange 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
TCP or UDP protocols: The range of ports the rule applies to.
 - 
  
    
      #protocol  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The protocol number.
 - 
  
    
      #rule_action  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates whether to allow or deny the traffic that matches the rule.
 - 
  
    
      #rule_number  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The rule number for the entry.
 
Instance Attribute Details
#cidr_block ⇒ String
The IPv4 network range to allow or deny, in CIDR notation.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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
Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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
ICMP protocol: The ICMP type and code.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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 to allow or deny, in CIDR notation.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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::PortRange
TCP or UDP protocols: The range of ports the rule applies to.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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 number. A value of “-1” means all protocols.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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
Indicates whether to allow or deny the traffic that matches the rule.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < 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 for the entry. ACL entries are processed in ascending order by rule number.
      55798 55799 55800 55801 55802 55803 55804 55805 55806 55807 55808 55809  | 
    
      # File 'lib/aws-sdk-ec2/types.rb', line 55798 class NetworkAclEntry < Struct.new( :cidr_block, :egress, :icmp_type_code, :ipv_6_cidr_block, :port_range, :protocol, :rule_action, :rule_number) SENSITIVE = [] include Aws::Structure end  |