@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)
40 lines (39 loc) • 1.38 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::S3Vectors::Index
*/
export declare function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise<GetIndexResult>;
export interface GetIndexArgs {
/**
* Returns the Amazon Resource Name (ARN) of the specified index.
*
* Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
*/
indexArn: string;
}
export interface GetIndexResult {
/**
* Returns the date and time when the vector index was created.
*
* Example: `2024-12-21T10:30:00Z`
*/
readonly creationTime?: string;
/**
* Returns the Amazon Resource Name (ARN) of the specified index.
*
* Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
*/
readonly indexArn?: string;
}
/**
* Resource Type definition for AWS::S3Vectors::Index
*/
export declare function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIndexResult>;
export interface GetIndexOutputArgs {
/**
* Returns the Amazon Resource Name (ARN) of the specified index.
*
* Example: `arn:aws:s3vectors:us-east-1:123456789012:bucket/amzn-s3-demo-vector-bucket/index/my-index`
*/
indexArn: pulumi.Input<string>;
}