Network Insights Analysis
Provides a Network Insights Analysis 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 com.pulumi.aws.ec2.NetworkInsightsAnalysis;
import com.pulumi.aws.ec2.NetworkInsightsAnalysisArgs;
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 path = new NetworkInsightsPath("path", NetworkInsightsPathArgs.builder()
.source(aws_network_interface.source().id())
.destination(aws_network_interface.destination().id())
.protocol("tcp")
.build());
var analysis = new NetworkInsightsAnalysis("analysis", NetworkInsightsAnalysisArgs.builder()
.networkInsightsPathId(path.id())
.build());
}
}
Content copied to clipboard
Import
Using pulumi import
, import Network Insights Analyses using the id
. For example:
$ pulumi import aws:ec2/networkInsightsAnalysis:NetworkInsightsAnalysis test nia-0462085c957f11a55
Content copied to clipboard
Properties
Link copied to clipboard
Explanation codes for an unreachable path. See the AWS documentation for details.
Link copied to clipboard
Link copied to clipboard
The components in the path from source to destination. See the AWS documentation for details.
Link copied to clipboard
The components in the path from destination to source. See the AWS documentation for details.
Link copied to clipboard
Link copied to clipboard