AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::NetworkInsightsPath

CfnNetworkInsightsPath

Specifies a path to analyze for reachability. VPC Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see the [Reachability Analyzer User Guide](https://docs.aws.amazon.com/vpc/latest/reachability/what-is-reachability-analyzer.html) .

Import

import { CfnNetworkInsightsPath } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnNetworkInsightsPath

Properties

Configuration passed to the constructor as CfnNetworkInsightsPathProps.

protocolRequired
string

The protocol.

sourceRequired
string

The ID or ARN of the source. If the resource is in another account, you must specify an ARN.

destinationOptional
string

The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.

destinationIpOptional
string

The IP address of the destination.

destinationPortOptional
number

The destination port.

filterAtDestinationOptional
IResolvable | PathFilterProperty

Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.

filterAtSourceOptional
IResolvable | PathFilterProperty

Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.

sourceIpOptional
string

The IP address of the source.

tagsOptional
CfnTag[]

The tags to add to the path.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic