AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateTrafficMirrorFilterRule operation. Creates a Traffic Mirror filter rule.
A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.
You need the Traffic Mirror filter ID when you create the rule.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class CreateTrafficMirrorFilterRuleRequest : AmazonEC2Request IAmazonWebServiceRequest
The CreateTrafficMirrorFilterRuleRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateTrafficMirrorFilterRuleRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientToken | System.String |
Gets and sets the property ClientToken. Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency. |
![]() |
Description | System.String |
Gets and sets the property Description. The description of the Traffic Mirror rule. |
![]() |
DestinationCidrBlock | System.String |
Gets and sets the property DestinationCidrBlock. The destination CIDR block to assign to the Traffic Mirror rule. |
![]() |
DestinationPortRange | Amazon.EC2.Model.TrafficMirrorPortRangeRequest |
Gets and sets the property DestinationPortRange. The destination port range. |
![]() |
Protocol | System.Int32 |
Gets and sets the property Protocol. 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. |
![]() |
RuleAction | Amazon.EC2.TrafficMirrorRuleAction |
Gets and sets the property RuleAction. The action to take on the filtered traffic. |
![]() |
RuleNumber | System.Int32 |
Gets and sets the property RuleNumber. 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. |
![]() |
SourceCidrBlock | System.String |
Gets and sets the property SourceCidrBlock. The source CIDR block to assign to the Traffic Mirror rule. |
![]() |
SourcePortRange | Amazon.EC2.Model.TrafficMirrorPortRangeRequest |
Gets and sets the property SourcePortRange. The source port range. |
![]() |
TagSpecifications | System.Collections.Generic.List<Amazon.EC2.Model.TagSpecification> |
Gets and sets the property TagSpecifications. Traffic Mirroring tags specifications. |
![]() |
TrafficDirection | Amazon.EC2.TrafficDirection |
Gets and sets the property TrafficDirection. The type of traffic. |
![]() |
TrafficMirrorFilterId | System.String |
Gets and sets the property TrafficMirrorFilterId. The ID of the filter that this rule is associated with. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5