Class: Aws::EC2::Types::NetworkAclEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes an entry in a network ACL.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_blockString

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

Returns:

  • (String)


51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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

#egressBoolean

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

Returns:

  • (Boolean)


51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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_codeTypes::IcmpTypeCode

ICMP protocol: The ICMP type and code.

Returns:



51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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_blockString

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

Returns:

  • (String)


51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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_rangeTypes::PortRange

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

Returns:



51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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

#protocolString

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

Returns:

  • (String)


51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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_actionString

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

Returns:

  • (String)


51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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_numberInteger

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

Returns:

  • (Integer)


51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51671

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