Class: Aws::EC2::Types::FirewallStatelessRule

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

Overview

Describes a stateless rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_portsArray<Types::PortRange>

The destination ports.

Returns:



36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#destinationsArray<String>

The destination IP addresses, in CIDR notation.

Returns:

  • (Array<String>)


36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The rule priority.

Returns:

  • (Integer)


36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#protocolsArray<Integer>

The protocols.

Returns:

  • (Array<Integer>)


36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#rule_actionString

The rule action. The possible values are ‘pass`, `drop`, and `forward_to_site`.

Returns:

  • (String)


36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#rule_group_arnString

The ARN of the stateless rule group.

Returns:

  • (String)


36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#source_portsArray<Types::PortRange>

The source ports.

Returns:



36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#sourcesArray<String>

The source IP addresses, in CIDR notation.

Returns:

  • (Array<String>)


36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
# File 'lib/aws-sdk-ec2/types.rb', line 36172

class FirewallStatelessRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocols,
  :rule_action,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end