UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

51 lines (50 loc) 2.03 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Definition of AWS::ResourceExplorer2::Index Resource Type */ export declare function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise<GetIndexResult>; export interface GetIndexArgs { /** * The ARN of the new index for the AWS Region . For example: * * `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222` */ arn: string; } export interface GetIndexResult { /** * The ARN of the new index for the AWS Region . For example: * * `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222` */ readonly arn?: string; /** * Indicates the current state of the index. For example: * * `CREATING` */ readonly indexState?: enums.resourceexplorer2.IndexState; /** * The specified tags are attached to only the index created in this AWS Region . The tags don't attach to any of the resources listed in the index. */ readonly tags?: { [key: string]: string; }; /** * Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* . */ readonly type?: enums.resourceexplorer2.IndexType; } /** * Definition of AWS::ResourceExplorer2::Index Resource Type */ export declare function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIndexResult>; export interface GetIndexOutputArgs { /** * The ARN of the new index for the AWS Region . For example: * * `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222` */ arn: pulumi.Input<string>; }