import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a Network Insights Access Scope resource. * Part of the "Network Access Analyzer" service in the AWS VPC console. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.ec2.NetworkInsightsAccessScope("example", {matchPaths: [{ * source: { * resourceStatement: { * resourceTypes: ["AWS::EC2::NetworkInterface"], * }, * }, * destination: { * resourceStatement: { * resourceTypes: ["AWS::EC2::InternetGateway"], * }, * }, * }]}); * ``` * * ### With Exclude Paths * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.ec2.NetworkInsightsAccessScope("example", { * excludePaths: [{ * source: { * resourceStatement: { * resourceTypes: ["AWS::EC2::InternetGateway"], * }, * }, * throughResources: [{ * resourceStatement: { * resourceTypes: ["AWS::EC2::NatGateway"], * }, * }], * }], * matchPaths: [{ * source: { * resourceStatement: { * resourceTypes: ["AWS::EC2::NetworkInterface"], * }, * }, * }], * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `id` - (String) ID of the Network Insights Access Scope. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import Network Insights Access Scopes using the `id`. For example: * * ```sh * $ pulumi import aws:ec2/networkInsightsAccessScope:NetworkInsightsAccessScope example nis-0a1b2c3d4e5f6g7h8 * ``` */ export declare class NetworkInsightsAccessScope extends pulumi.CustomResource { /** * Get an existing NetworkInsightsAccessScope 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?: NetworkInsightsAccessScopeState, opts?: pulumi.CustomResourceOptions): NetworkInsightsAccessScope; /** * Returns true if the given object is an instance of NetworkInsightsAccessScope. 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 NetworkInsightsAccessScope; /** * ARN of the Network Insights Access Scope. */ readonly arn: pulumi.Output; /** * Set of access scope path statements to exclude. * See `excludePaths` below for details. */ readonly excludePaths: pulumi.Output; /** * Set of access scope path statements to match. * At least one must be specified. * See `matchPaths` below for details. * * The following arguments are optional: */ readonly matchPaths: 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; /** * 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; }>; /** * Create a NetworkInsightsAccessScope 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?: NetworkInsightsAccessScopeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkInsightsAccessScope resources. */ export interface NetworkInsightsAccessScopeState { /** * ARN of the Network Insights Access Scope. */ arn?: pulumi.Input; /** * Set of access scope path statements to exclude. * See `excludePaths` below for details. */ excludePaths?: pulumi.Input[] | undefined>; /** * Set of access scope path statements to match. * At least one must be specified. * See `matchPaths` below for details. * * The following arguments are optional: */ matchPaths?: pulumi.Input[] | undefined>; /** * 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>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a NetworkInsightsAccessScope resource. */ export interface NetworkInsightsAccessScopeArgs { /** * Set of access scope path statements to exclude. * See `excludePaths` below for details. */ excludePaths?: pulumi.Input[] | undefined>; /** * Set of access scope path statements to match. * At least one must be specified. * See `matchPaths` below for details. * * The following arguments are optional: */ matchPaths?: pulumi.Input[] | undefined>; /** * 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>; } //# sourceMappingURL=networkInsightsAccessScope.d.ts.map