aws-cdk-lib.aws_ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty

interface TrafficMirrorPortRangeProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTrafficMirrorFilterRule_TrafficMirrorPortRangeProperty
Javasoftware.amazon.awscdk.services.ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty
Pythonaws_cdk.aws_ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty
TypeScript aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const trafficMirrorPortRangeProperty: ec2.CfnTrafficMirrorFilterRule.TrafficMirrorPortRangeProperty = {
  fromPort: 123,
  toPort: 123,
};

Properties

NameTypeDescription
fromPortnumberThe start of the Traffic Mirror port range.
toPortnumberThe 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.