Expand description
Provides a Network Insights Analysis resource. Part of the “Reachability Analyzer” service in the AWS VPC console.
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let analysis = network_insights_analysis::create(
"analysis",
NetworkInsightsAnalysisArgs::builder()
.network_insights_path_id("${path.id}")
.build_struct(),
);
let path = network_insights_path::create(
"path",
NetworkInsightsPathArgs::builder()
.destination("${destination.id}")
.protocol("tcp")
.source("${source.id}")
.build_struct(),
);
}
§Import
Using pulumi import
, import Network Insights Analyzes using the id
. For example:
$ pulumi import aws:ec2/networkInsightsAnalysis:NetworkInsightsAnalysis test nia-0462085c957f11a55
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments