Class: Aws::EC2::Types::CreateTrafficMirrorFilterRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateTrafficMirrorFilterRuleRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#description ⇒ String
The description of the Traffic Mirror rule.
-
#destination_cidr_block ⇒ String
The destination CIDR block to assign to the Traffic Mirror rule.
-
#destination_port_range ⇒ Types::TrafficMirrorPortRangeRequest
The destination port range.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#protocol ⇒ Integer
The protocol, for example UDP, to assign to the Traffic Mirror rule.
-
#rule_action ⇒ String
The action to take on the filtered traffic.
-
#rule_number ⇒ Integer
The number of the Traffic Mirror rule.
-
#source_cidr_block ⇒ String
The source CIDR block to assign to the Traffic Mirror rule.
-
#source_port_range ⇒ Types::TrafficMirrorPortRangeRequest
The source port range.
-
#traffic_direction ⇒ String
The type of traffic.
-
#traffic_mirror_filter_id ⇒ String
The ID of the filter that this rule is associated with.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
A suitable default value is auto-generated. You should normally not need to pass this option.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the Traffic Mirror rule.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#destination_cidr_block ⇒ String
The destination CIDR block to assign to the Traffic Mirror rule.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#destination_port_range ⇒ Types::TrafficMirrorPortRangeRequest
The destination port range.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response.
If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ Integer
The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#rule_action ⇒ String
The action to take on the filtered traffic.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#rule_number ⇒ Integer
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#source_cidr_block ⇒ String
The source CIDR block to assign to the Traffic Mirror rule.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#source_port_range ⇒ Types::TrafficMirrorPortRangeRequest
The source port range.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#traffic_direction ⇒ String
The type of traffic.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |
#traffic_mirror_filter_id ⇒ String
The ID of the filter that this rule is associated with.
11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 11064 class CreateTrafficMirrorFilterRuleRequest < Struct.new( :traffic_mirror_filter_id, :traffic_direction, :rule_number, :rule_action, :destination_port_range, :source_port_range, :protocol, :destination_cidr_block, :source_cidr_block, :description, :dry_run, :client_token) SENSITIVE = [] include Aws::Structure end |