Class: Aws::EC2::Types::CreateTrafficMirrorFilterRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateTrafficMirrorFilterRuleRequest
- Includes:
- Structure
- Defined in:
- 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.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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`.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
[1]: www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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.
10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 |
# File 'lib/aws-sdk-ec2/types.rb', line 10959 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 |