@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)
37 lines (36 loc) • 1.2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type Definition for AWS::S3Outposts::Bucket
*/
export declare function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetBucketResult>;
export interface GetBucketArgs {
/**
* The Amazon Resource Name (ARN) of the specified bucket.
*/
arn: string;
}
export interface GetBucketResult {
/**
* The Amazon Resource Name (ARN) of the specified bucket.
*/
readonly arn?: string;
/**
* Rules that define how Amazon S3Outposts manages objects during their lifetime.
*/
readonly lifecycleConfiguration?: outputs.s3outposts.BucketLifecycleConfiguration;
/**
* An arbitrary set of tags (key-value pairs) for this S3Outposts bucket.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource Type Definition for AWS::S3Outposts::Bucket
*/
export declare function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBucketResult>;
export interface GetBucketOutputArgs {
/**
* The Amazon Resource Name (ARN) of the specified bucket.
*/
arn: pulumi.Input<string>;
}