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)

61 lines (60 loc) 1.94 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Lightsail::Bucket */ export declare function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetBucketResult>; export interface GetBucketArgs { /** * The name for the bucket. */ bucketName: string; } export interface GetBucketResult { /** * Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle. You can update a bucket's bundle only one time within a monthly AWS billing cycle. */ readonly ableToUpdateBundle?: boolean; /** * An object that describes the access rules for the bucket. */ readonly accessRules?: outputs.lightsail.BucketAccessRules; /** * The Amazon Resource Name (ARN) of the bucket. */ readonly bucketArn?: string; /** * The ID of the bundle to use for the bucket. */ readonly bundleId?: string; /** * Specifies whether to enable or disable versioning of objects in the bucket. */ readonly objectVersioning?: boolean; /** * An array of strings to specify the AWS account IDs that can access the bucket. */ readonly readOnlyAccessAccounts?: string[]; /** * The names of the Lightsail resources for which to set bucket access. */ readonly resourcesReceivingAccess?: string[]; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; /** * The URL of the bucket. */ readonly url?: string; } /** * Resource Type definition for AWS::Lightsail::Bucket */ export declare function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBucketResult>; export interface GetBucketOutputArgs { /** * The name for the bucket. */ bucketName: pulumi.Input<string>; }