Class: Aws::EC2::Types::FirewallStatefulRule

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

Overview

Describes a stateful rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_portsArray<Types::PortRange>

The destination ports.

Returns:



32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#destinationsArray<String>

The destination IP addresses, in CIDR notation.

Returns:

  • (Array<String>)


32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#directionString

The direction. The possible values are FORWARD and ANY.

Returns:

  • (String)


32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol.

Returns:

  • (String)


32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#rule_actionString

The rule action. The possible values are pass, drop, and alert.

Returns:

  • (String)


32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#rule_group_arnString

The ARN of the stateful rule group.

Returns:

  • (String)


32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#source_portsArray<Types::PortRange>

The source ports.

Returns:



32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end

#sourcesArray<String>

The source IP addresses, in CIDR notation.

Returns:

  • (Array<String>)


32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 32784

class FirewallStatefulRule < Struct.new(
  :rule_group_arn,
  :sources,
  :destinations,
  :source_ports,
  :destination_ports,
  :protocol,
  :rule_action,
  :direction)
  SENSITIVE = []
  include Aws::Structure
end