interface TrafficMirrorPortRangeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty |
Java | software.amazon.awscdk.services.ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty |
Python | aws_cdk.aws_ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnTrafficMirrorFilterRule » TrafficMirrorPortRangeProperty |
Describes the Traffic Mirror port range.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const trafficMirrorPortRangeProperty: ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty = {
fromPort: 123,
toPort: 123,
};
Properties
Name | Type | Description |
---|---|---|
from | number | The start of the Traffic Mirror port range. |
to | number | The end of the Traffic Mirror port range. |
fromPort
Type:
number
The start of the Traffic Mirror port range.
This applies to the TCP and UDP protocols.
toPort
Type:
number
The end of the Traffic Mirror port range.
This applies to the TCP and UDP protocols.