interface CfnTrafficMirrorFilterRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnTrafficMirrorFilterRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnTrafficMirrorFilterRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnTrafficMirrorFilterRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnTrafficMirrorFilterRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnTrafficMirrorFilterRuleMixinProps |
Properties for CfnTrafficMirrorFilterRulePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnTrafficMirrorFilterRuleMixinProps: ec2_mixins.CfnTrafficMirrorFilterRuleMixinProps = {
description: 'description',
destinationCidrBlock: 'destinationCidrBlock',
destinationPortRange: {
fromPort: 123,
toPort: 123,
},
protocol: 123,
ruleAction: 'ruleAction',
ruleNumber: 123,
sourceCidrBlock: 'sourceCidrBlock',
sourcePortRange: {
fromPort: 123,
toPort: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
trafficDirection: 'trafficDirection',
trafficMirrorFilterId: 'trafficMirrorFilterId',
};
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | The description of the Traffic Mirror rule. |
| destination | string | The destination CIDR block to assign to the Traffic Mirror rule. |
| destination | IResolvable | Traffic | The destination port range. |
| protocol? | number | The protocol, for example UDP, to assign to the Traffic Mirror rule. |
| rule | string | The action to take on the filtered traffic. |
| rule | number | The number of the Traffic Mirror rule. |
| source | string | The source CIDR block to assign to the Traffic Mirror rule. |
| source | IResolvable | Traffic | The source port range. |
| tags? | Cfn[] | Tags on Traffic Mirroring filter rules. |
| traffic | string | The type of traffic. |
| traffic | string | The ID of the filter that this rule is associated with. |
description?
Type:
string
(optional)
The description of the Traffic Mirror rule.
destinationCidrBlock?
Type:
string
(optional)
The destination CIDR block to assign to the Traffic Mirror rule.
destinationPortRange?
Type:
IResolvable | Traffic
(optional)
The destination port range.
protocol?
Type:
number
(optional)
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?
Type:
string
(optional)
The action to take on the filtered traffic.
ruleNumber?
Type:
number
(optional)
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?
Type:
string
(optional)
The source CIDR block to assign to the Traffic Mirror rule.
sourcePortRange?
Type:
IResolvable | Traffic
(optional)
The source port range.
tags?
Type:
Cfn[]
(optional)
Tags on Traffic Mirroring filter rules.
trafficDirection?
Type:
string
(optional)
The type of traffic.
trafficMirrorFilterId?
Type:
string
(optional)
The ID of the filter that this rule is associated with.

.NET
Go
Java
Python
TypeScript