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_ports ⇒ Array<Types::PortRange>

The destination ports.

Returns:



44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#destinations ⇒ Array<String>

The destination IP addresses, in CIDR notation.

Returns:

  • (Array<String>)


44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#direction ⇒ String

The direction. The possible values are FORWARD and ANY.

Returns:

  • (String)


44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#protocol ⇒ String

The protocol.

Returns:

  • (String)


44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#rule_action ⇒ String

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

Returns:

  • (String)


44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#rule_group_arn ⇒ String

The ARN of the stateful rule group.

Returns:

  • (String)


44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#source_ports ⇒ Array<Types::PortRange>

The source ports.

Returns:



44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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

#sources ⇒ Array<String>

The source IP addresses, in CIDR notation.

Returns:

  • (Array<String>)


44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 44583

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