1. Packages
  2. AWS
  3. API Docs
  4. ec2
  5. NetworkInsightsPath
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.ec2.NetworkInsightsPath

Explore with Pulumi AI

Provides a Network Insights Path resource. Part of the “Reachability Analyzer” service in the AWS VPC console.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.ec2.NetworkInsightsPath("test", {
    source: source.id,
    destination: destination.id,
    protocol: "tcp",
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.ec2.NetworkInsightsPath("test",
    source=source["id"],
    destination=destination["id"],
    protocol="tcp")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.NewNetworkInsightsPath(ctx, "test", &ec2.NetworkInsightsPathArgs{
			Source:      pulumi.Any(source.Id),
			Destination: pulumi.Any(destination.Id),
			Protocol:    pulumi.String("tcp"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.Ec2.NetworkInsightsPath("test", new()
    {
        Source = source.Id,
        Destination = destination.Id,
        Protocol = "tcp",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.NetworkInsightsPath;
import com.pulumi.aws.ec2.NetworkInsightsPathArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new NetworkInsightsPath("test", NetworkInsightsPathArgs.builder()
            .source(source.id())
            .destination(destination.id())
            .protocol("tcp")
            .build());

    }
}
Copy
resources:
  test:
    type: aws:ec2:NetworkInsightsPath
    properties:
      source: ${source.id}
      destination: ${destination.id}
      protocol: tcp
Copy

Create NetworkInsightsPath Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NetworkInsightsPath(name: string, args: NetworkInsightsPathArgs, opts?: CustomResourceOptions);
@overload
def NetworkInsightsPath(resource_name: str,
                        args: NetworkInsightsPathArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def NetworkInsightsPath(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        protocol: Optional[str] = None,
                        source: Optional[str] = None,
                        destination: Optional[str] = None,
                        destination_ip: Optional[str] = None,
                        destination_port: Optional[int] = None,
                        source_ip: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None)
func NewNetworkInsightsPath(ctx *Context, name string, args NetworkInsightsPathArgs, opts ...ResourceOption) (*NetworkInsightsPath, error)
public NetworkInsightsPath(string name, NetworkInsightsPathArgs args, CustomResourceOptions? opts = null)
public NetworkInsightsPath(String name, NetworkInsightsPathArgs args)
public NetworkInsightsPath(String name, NetworkInsightsPathArgs args, CustomResourceOptions options)
type: aws:ec2:NetworkInsightsPath
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkInsightsPathArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkInsightsPathArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkInsightsPathArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkInsightsPathArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkInsightsPathArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var networkInsightsPathResource = new Aws.Ec2.NetworkInsightsPath("networkInsightsPathResource", new()
{
    Protocol = "string",
    Source = "string",
    Destination = "string",
    DestinationIp = "string",
    DestinationPort = 0,
    SourceIp = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := ec2.NewNetworkInsightsPath(ctx, "networkInsightsPathResource", &ec2.NetworkInsightsPathArgs{
	Protocol:        pulumi.String("string"),
	Source:          pulumi.String("string"),
	Destination:     pulumi.String("string"),
	DestinationIp:   pulumi.String("string"),
	DestinationPort: pulumi.Int(0),
	SourceIp:        pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var networkInsightsPathResource = new NetworkInsightsPath("networkInsightsPathResource", NetworkInsightsPathArgs.builder()
    .protocol("string")
    .source("string")
    .destination("string")
    .destinationIp("string")
    .destinationPort(0)
    .sourceIp("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
network_insights_path_resource = aws.ec2.NetworkInsightsPath("networkInsightsPathResource",
    protocol="string",
    source="string",
    destination="string",
    destination_ip="string",
    destination_port=0,
    source_ip="string",
    tags={
        "string": "string",
    })
Copy
const networkInsightsPathResource = new aws.ec2.NetworkInsightsPath("networkInsightsPathResource", {
    protocol: "string",
    source: "string",
    destination: "string",
    destinationIp: "string",
    destinationPort: 0,
    sourceIp: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:ec2:NetworkInsightsPath
properties:
    destination: string
    destinationIp: string
    destinationPort: 0
    protocol: string
    source: string
    sourceIp: string
    tags:
        string: string
Copy

NetworkInsightsPath Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NetworkInsightsPath resource accepts the following input properties:

Protocol
This property is required.
Changes to this property will trigger replacement.
string

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

Source
This property is required.
Changes to this property will trigger replacement.
string
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
Destination Changes to this property will trigger replacement. string
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
DestinationIp Changes to this property will trigger replacement. string
IP address of the destination resource.
DestinationPort Changes to this property will trigger replacement. int
Destination port to analyze access to.
SourceIp Changes to this property will trigger replacement. string
IP address of the source resource.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Protocol
This property is required.
Changes to this property will trigger replacement.
string

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

Source
This property is required.
Changes to this property will trigger replacement.
string
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
Destination Changes to this property will trigger replacement. string
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
DestinationIp Changes to this property will trigger replacement. string
IP address of the destination resource.
DestinationPort Changes to this property will trigger replacement. int
Destination port to analyze access to.
SourceIp Changes to this property will trigger replacement. string
IP address of the source resource.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
protocol
This property is required.
Changes to this property will trigger replacement.
String

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source
This property is required.
Changes to this property will trigger replacement.
String
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destination Changes to this property will trigger replacement. String
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destinationIp Changes to this property will trigger replacement. String
IP address of the destination resource.
destinationPort Changes to this property will trigger replacement. Integer
Destination port to analyze access to.
sourceIp Changes to this property will trigger replacement. String
IP address of the source resource.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
protocol
This property is required.
Changes to this property will trigger replacement.
string

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source
This property is required.
Changes to this property will trigger replacement.
string
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destination Changes to this property will trigger replacement. string
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destinationIp Changes to this property will trigger replacement. string
IP address of the destination resource.
destinationPort Changes to this property will trigger replacement. number
Destination port to analyze access to.
sourceIp Changes to this property will trigger replacement. string
IP address of the source resource.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
protocol
This property is required.
Changes to this property will trigger replacement.
str

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source
This property is required.
Changes to this property will trigger replacement.
str
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destination Changes to this property will trigger replacement. str
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destination_ip Changes to this property will trigger replacement. str
IP address of the destination resource.
destination_port Changes to this property will trigger replacement. int
Destination port to analyze access to.
source_ip Changes to this property will trigger replacement. str
IP address of the source resource.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
protocol
This property is required.
Changes to this property will trigger replacement.
String

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source
This property is required.
Changes to this property will trigger replacement.
String
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destination Changes to this property will trigger replacement. String
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destinationIp Changes to this property will trigger replacement. String
IP address of the destination resource.
destinationPort Changes to this property will trigger replacement. Number
Destination port to analyze access to.
sourceIp Changes to this property will trigger replacement. String
IP address of the source resource.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkInsightsPath resource produces the following output properties:

Arn string
ARN of the Network Insights Path.
DestinationArn string
ARN of the destination.
Id string
The provider-assigned unique ID for this managed resource.
SourceArn string
ARN of the source.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN of the Network Insights Path.
DestinationArn string
ARN of the destination.
Id string
The provider-assigned unique ID for this managed resource.
SourceArn string
ARN of the source.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Network Insights Path.
destinationArn String
ARN of the destination.
id String
The provider-assigned unique ID for this managed resource.
sourceArn String
ARN of the source.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN of the Network Insights Path.
destinationArn string
ARN of the destination.
id string
The provider-assigned unique ID for this managed resource.
sourceArn string
ARN of the source.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN of the Network Insights Path.
destination_arn str
ARN of the destination.
id str
The provider-assigned unique ID for this managed resource.
source_arn str
ARN of the source.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Network Insights Path.
destinationArn String
ARN of the destination.
id String
The provider-assigned unique ID for this managed resource.
sourceArn String
ARN of the source.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing NetworkInsightsPath Resource

Get an existing NetworkInsightsPath resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NetworkInsightsPathState, opts?: CustomResourceOptions): NetworkInsightsPath
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        destination: Optional[str] = None,
        destination_arn: Optional[str] = None,
        destination_ip: Optional[str] = None,
        destination_port: Optional[int] = None,
        protocol: Optional[str] = None,
        source: Optional[str] = None,
        source_arn: Optional[str] = None,
        source_ip: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> NetworkInsightsPath
func GetNetworkInsightsPath(ctx *Context, name string, id IDInput, state *NetworkInsightsPathState, opts ...ResourceOption) (*NetworkInsightsPath, error)
public static NetworkInsightsPath Get(string name, Input<string> id, NetworkInsightsPathState? state, CustomResourceOptions? opts = null)
public static NetworkInsightsPath get(String name, Output<String> id, NetworkInsightsPathState state, CustomResourceOptions options)
resources:  _:    type: aws:ec2:NetworkInsightsPath    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
ARN of the Network Insights Path.
Destination Changes to this property will trigger replacement. string
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
DestinationArn string
ARN of the destination.
DestinationIp Changes to this property will trigger replacement. string
IP address of the destination resource.
DestinationPort Changes to this property will trigger replacement. int
Destination port to analyze access to.
Protocol Changes to this property will trigger replacement. string

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

Source Changes to this property will trigger replacement. string
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
SourceArn string
ARN of the source.
SourceIp Changes to this property will trigger replacement. string
IP address of the source resource.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN of the Network Insights Path.
Destination Changes to this property will trigger replacement. string
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
DestinationArn string
ARN of the destination.
DestinationIp Changes to this property will trigger replacement. string
IP address of the destination resource.
DestinationPort Changes to this property will trigger replacement. int
Destination port to analyze access to.
Protocol Changes to this property will trigger replacement. string

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

Source Changes to this property will trigger replacement. string
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
SourceArn string
ARN of the source.
SourceIp Changes to this property will trigger replacement. string
IP address of the source resource.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Network Insights Path.
destination Changes to this property will trigger replacement. String
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destinationArn String
ARN of the destination.
destinationIp Changes to this property will trigger replacement. String
IP address of the destination resource.
destinationPort Changes to this property will trigger replacement. Integer
Destination port to analyze access to.
protocol Changes to this property will trigger replacement. String

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source Changes to this property will trigger replacement. String
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
sourceArn String
ARN of the source.
sourceIp Changes to this property will trigger replacement. String
IP address of the source resource.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN of the Network Insights Path.
destination Changes to this property will trigger replacement. string
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destinationArn string
ARN of the destination.
destinationIp Changes to this property will trigger replacement. string
IP address of the destination resource.
destinationPort Changes to this property will trigger replacement. number
Destination port to analyze access to.
protocol Changes to this property will trigger replacement. string

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source Changes to this property will trigger replacement. string
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
sourceArn string
ARN of the source.
sourceIp Changes to this property will trigger replacement. string
IP address of the source resource.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN of the Network Insights Path.
destination Changes to this property will trigger replacement. str
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destination_arn str
ARN of the destination.
destination_ip Changes to this property will trigger replacement. str
IP address of the destination resource.
destination_port Changes to this property will trigger replacement. int
Destination port to analyze access to.
protocol Changes to this property will trigger replacement. str

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source Changes to this property will trigger replacement. str
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
source_arn str
ARN of the source.
source_ip Changes to this property will trigger replacement. str
IP address of the source resource.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the Network Insights Path.
destination Changes to this property will trigger replacement. String
ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
destinationArn String
ARN of the destination.
destinationIp Changes to this property will trigger replacement. String
IP address of the destination resource.
destinationPort Changes to this property will trigger replacement. Number
Destination port to analyze access to.
protocol Changes to this property will trigger replacement. String

Protocol to use for analysis. Valid options are tcp or udp.

The following arguments are optional:

source Changes to this property will trigger replacement. String
ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
sourceArn String
ARN of the source.
sourceIp Changes to this property will trigger replacement. String
IP address of the source resource.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Import

Using pulumi import, import Network Insights Paths using the id. For example:

$ pulumi import aws:ec2/networkInsightsPath:NetworkInsightsPath test nip-00edfba169923aefd
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.