Class TrafficMirrorFilterRuleState
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TrafficMirrorFilterRuleState : ResourceArgs
Constructors
View SourceTrafficMirrorFilterRuleState()
Declaration
public TrafficMirrorFilterRuleState()
Properties
View SourceDescription
A description of the traffic mirror filter rule.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DestinationCidrBlock
The destination CIDR block to assign to the Traffic Mirror rule.
Declaration
public Input<string> DestinationCidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DestinationPortRange
The destination port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
Declaration
public Input<TrafficMirrorFilterRuleDestinationPortRangeGetArgs> DestinationPortRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TrafficMirrorFilterRuleDestinationPortRangeGetArgs> |
Protocol
The protocol number, for example 17 (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.
Declaration
public Input<int> Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RuleAction
The action to take (accept | reject) on the filtered traffic. Valid values are accept and reject
Declaration
public Input<string> RuleAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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.
Declaration
public Input<int> RuleNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SourceCidrBlock
The source CIDR block to assign to the Traffic Mirror rule.
Declaration
public Input<string> SourceCidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourcePortRange
The source port range. Supported only when the protocol is set to TCP(6) or UDP(17). See Traffic mirror port range documented below
Declaration
public Input<TrafficMirrorFilterRuleSourcePortRangeGetArgs> SourcePortRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TrafficMirrorFilterRuleSourcePortRangeGetArgs> |
TrafficDirection
The direction of traffic to be captured. Valid values are ingress and egress
Declaration
public Input<string> TrafficDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TrafficMirrorFilterId
ID of the traffic mirror filter to which this rule should be added
Declaration
public Input<string> TrafficMirrorFilterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |