aws-cdk-lib.aws_ec2.CfnNetworkInsightsPath.PathFilterProperty

interface PathFilterProperty

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

Describes a set of filters for a path analysis.

Use path filters to scope the analysis when there can be multiple resulting paths.

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 pathFilterProperty: ec2.CfnNetworkInsightsPath.PathFilterProperty = {
  destinationAddress: 'destinationAddress',
  destinationPortRange: {
    fromPort: 123,
    toPort: 123,
  },
  sourceAddress: 'sourceAddress',
  sourcePortRange: {
    fromPort: 123,
    toPort: 123,
  },
};

Properties

NameTypeDescription
destinationAddress?stringThe destination IPv4 address.
destinationPortRange?IResolvable | FilterPortRangePropertyThe destination port range.
sourceAddress?stringThe source IPv4 address.
sourcePortRange?IResolvable | FilterPortRangePropertyThe source port range.

destinationAddress?

Type: string (optional)

The destination IPv4 address.


destinationPortRange?

Type: IResolvable | FilterPortRangeProperty (optional)

The destination port range.


sourceAddress?

Type: string (optional)

The source IPv4 address.


sourcePortRange?

Type: IResolvable | FilterPortRangeProperty (optional)

The source port range.