import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a Network Insights Analysis resource. Part of the "Reachability Analyzer" service in the AWS VPC console. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const path = new aws.ec2.NetworkInsightsPath("path", { * source: source.id, * destination: destination.id, * protocol: "tcp", * }); * const analysis = new aws.ec2.NetworkInsightsAnalysis("analysis", {networkInsightsPathId: path.id}); * ``` * * ## Import * * Using `pulumi import`, import Network Insights Analyzes using the `id`. For example: * * ```sh * $ pulumi import aws:ec2/networkInsightsAnalysis:NetworkInsightsAnalysis test nia-0462085c957f11a55 * ``` */ export declare class NetworkInsightsAnalysis extends pulumi.CustomResource { /** * Get an existing NetworkInsightsAnalysis resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NetworkInsightsAnalysisState, opts?: pulumi.CustomResourceOptions): NetworkInsightsAnalysis; /** * Returns true if the given object is an instance of NetworkInsightsAnalysis. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NetworkInsightsAnalysis; /** * Potential intermediate components of a feasible path. Described below. */ readonly alternatePathHints: pulumi.Output; /** * ARN of the Network Insights Analysis. */ readonly arn: pulumi.Output; /** * Explanation codes for an unreachable path. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Explanation.html) for details. */ readonly explanations: pulumi.Output; /** * A list of ARNs for resources the path must traverse. */ readonly filterInArns: pulumi.Output; /** * The components in the path from source to destination. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details. */ readonly forwardPathComponents: pulumi.Output; /** * ID of the Network Insights Path to run an analysis on. * * The following arguments are optional: */ readonly networkInsightsPathId: pulumi.Output; /** * Set to `true` if the destination was reachable. */ readonly pathFound: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * The components in the path from destination to source. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details. */ readonly returnPathComponents: pulumi.Output; /** * The date/time the analysis was started. */ readonly startDate: pulumi.Output; /** * The status of the analysis. `succeeded` means the analysis was completed, not that a path was found, for that see `pathFound`. */ readonly status: pulumi.Output; /** * A message to provide more context when the `status` is `failed`. */ readonly statusMessage: pulumi.Output; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * If enabled, the resource will wait for the Network Insights Analysis status to change to `succeeded` or `failed`. Setting this to `false` will skip the process. Default: `true`. */ readonly waitForCompletion: pulumi.Output; /** * The warning message. */ readonly warningMessage: pulumi.Output; /** * Create a NetworkInsightsAnalysis resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NetworkInsightsAnalysisArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkInsightsAnalysis resources. */ export interface NetworkInsightsAnalysisState { /** * Potential intermediate components of a feasible path. Described below. */ alternatePathHints?: pulumi.Input[] | undefined>; /** * ARN of the Network Insights Analysis. */ arn?: pulumi.Input; /** * Explanation codes for an unreachable path. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Explanation.html) for details. */ explanations?: pulumi.Input[] | undefined>; /** * A list of ARNs for resources the path must traverse. */ filterInArns?: pulumi.Input[] | undefined>; /** * The components in the path from source to destination. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details. */ forwardPathComponents?: pulumi.Input[] | undefined>; /** * ID of the Network Insights Path to run an analysis on. * * The following arguments are optional: */ networkInsightsPathId?: pulumi.Input; /** * Set to `true` if the destination was reachable. */ pathFound?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * The components in the path from destination to source. See the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_PathComponent.html) for details. */ returnPathComponents?: pulumi.Input[] | undefined>; /** * The date/time the analysis was started. */ startDate?: pulumi.Input; /** * The status of the analysis. `succeeded` means the analysis was completed, not that a path was found, for that see `pathFound`. */ status?: pulumi.Input; /** * A message to provide more context when the `status` is `failed`. */ statusMessage?: pulumi.Input; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * If enabled, the resource will wait for the Network Insights Analysis status to change to `succeeded` or `failed`. Setting this to `false` will skip the process. Default: `true`. */ waitForCompletion?: pulumi.Input; /** * The warning message. */ warningMessage?: pulumi.Input; } /** * The set of arguments for constructing a NetworkInsightsAnalysis resource. */ export interface NetworkInsightsAnalysisArgs { /** * A list of ARNs for resources the path must traverse. */ filterInArns?: pulumi.Input[] | undefined>; /** * ID of the Network Insights Path to run an analysis on. * * The following arguments are optional: */ networkInsightsPathId: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * If enabled, the resource will wait for the Network Insights Analysis status to change to `succeeded` or `failed`. Setting this to `false` will skip the process. Default: `true`. */ waitForCompletion?: pulumi.Input; } //# sourceMappingURL=networkInsightsAnalysis.d.ts.map