aws-cdk-lib.aws_ec2.CfnNetworkInsightsPath.FilterPortRangeProperty

interface FilterPortRangeProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkInsightsPath.FilterPortRangeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkInsightsPath_FilterPortRangeProperty
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkInsightsPath.FilterPortRangeProperty
Pythonaws_cdk.aws_ec2.CfnNetworkInsightsPath.FilterPortRangeProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnNetworkInsightsPath » FilterPortRangeProperty

Describes a 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 filterPortRangeProperty: ec2.CfnNetworkInsightsPath.FilterPortRangeProperty = {
  fromPort: 123,
  toPort: 123,
};

Properties

NameTypeDescription
fromPort?numberThe first port in the range.
toPort?numberThe last port in the range.

fromPort?

Type: number (optional)

The first port in the range.


toPort?

Type: number (optional)

The last port in the range.