Skip to content
v2.275.0

PathFilterProperty Struct ​

Describes a set of filters for a path analysis.

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

Example ​

ts
// 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 ​

destinationAddressoptionalstringdestination_addressoptionalstrdestinationAddressoptionalStringDestinationAddressoptionalstringDestinationAddressoptional*string#
The destination IPv4 address.
destinationPortRangeoptionalIResolvable | CfnNetworkInsightsPath.FilterPortRangePropertydestination_port_rangeoptionaltyping.Union[IResolvable, FilterPortRangeProperty]destinationPortRangeoptionalIResolvableDestinationPortRangeoptionalIResolvableDestinationPortRangeoptionalinterface{}#
The destination port range.
sourceAddressoptionalstringsource_addressoptionalstrsourceAddressoptionalStringSourceAddressoptionalstringSourceAddressoptional*string#
The source IPv4 address.
sourcePortRangeoptionalIResolvable | CfnNetworkInsightsPath.FilterPortRangePropertysource_port_rangeoptionaltyping.Union[IResolvable, FilterPortRangeProperty]sourcePortRangeoptionalIResolvableSourcePortRangeoptionalIResolvableSourcePortRangeoptionalinterface{}#
The source port range.