NetworkInsightsPath

class NetworkInsightsPath : KotlinCustomResource

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

Example Usage

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(aws_network_interface.source().id())
.destination(aws_network_interface.destination().id())
.protocol("tcp")
.build());
}
}

Import

Network Insights Paths can be imported using the id, e.g.,

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

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the Network Insights Path.

Link copied to clipboard
val destination: Output<String>

ID 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.

Link copied to clipboard
val destinationIp: Output<String>?

IP address of the destination resource.

Link copied to clipboard
val destinationPort: Output<Int>?

Destination port to analyze access to.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val protocol: Output<String>

Protocol to use for analysis. Valid options are tcp or udp. The following arguments are optional:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val source: Output<String>

ID 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.

Link copied to clipboard
val sourceIp: Output<String>?

IP address of the source resource.

Link copied to clipboard
val tags: Output<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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>