You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes an entry in a network ACL.

Instance Attribute Summary collapse

Instance Attribute Details

#cidr_blockString

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

Returns:

  • (String)

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

#egressBoolean

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

Returns:

  • (Boolean)

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

#icmp_type_codeTypes::IcmpTypeCode

ICMP protocol: The ICMP type and code.

Returns:

#ipv_6_cidr_blockString

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

Returns:

  • (String)

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

#port_rangeTypes::PortRange

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

Returns:

  • (Types::PortRange)

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

#protocolString

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

Returns:

  • (String)

    The protocol number.

#rule_actionString

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

Possible values:

  • allow
  • deny

Returns:

  • (String)

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

#rule_numberInteger

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

Returns:

  • (Integer)

    The rule number for the entry.