Class: Aws::FMS::Types::NetworkAclEntry

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-fms/types.rb

Overview

Describes a rule in a network ACL.

Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order.

When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.

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)


2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end

#egressBoolean

Indicates whether the rule is an egress, or outbound, rule (applied to traffic leaving the subnet). If it’s not an egress rule, then it’s an ingress, or inbound, rule.

Returns:

  • (Boolean)


2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end

#icmp_type_codeTypes::NetworkAclIcmpTypeCode

ICMP protocol: The ICMP type and code.



2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_cidr_blockString

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

Returns:

  • (String)


2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end

#port_rangeTypes::NetworkAclPortRange

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



2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

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

Returns:

  • (String)


2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end

#rule_actionString

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

Returns:

  • (String)


2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
# File 'lib/aws-sdk-fms/types.rb', line 2647

class NetworkAclEntry < Struct.new(
  :icmp_type_code,
  :protocol,
  :port_range,
  :cidr_block,
  :ipv_6_cidr_block,
  :rule_action,
  :egress)
  SENSITIVE = []
  include Aws::Structure
end