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)

87 lines (86 loc) 5.51 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::S3Express::DirectoryBucket. */ export declare class DirectoryBucket extends pulumi.CustomResource { /** * Get an existing DirectoryBucket 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DirectoryBucket; /** * Returns true if the given object is an instance of DirectoryBucket. 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 DirectoryBucket; /** * Returns the Amazon Resource Name (ARN) of the specified bucket. */ readonly arn: pulumi.Output<string>; /** * Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'. */ readonly availabilityZoneName: pulumi.Output<string>; /** * Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see [Setting and monitoring default encryption for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html) in the *Amazon S3 User Guide* . */ readonly bucketEncryption: pulumi.Output<outputs.s3express.DirectoryBucketBucketEncryption | undefined>; /** * Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name. */ readonly bucketName: pulumi.Output<string | undefined>; /** * Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket. */ readonly dataRedundancy: pulumi.Output<enums.s3express.DirectoryBucketDataRedundancy>; /** * Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime. */ readonly lifecycleConfiguration: pulumi.Output<outputs.s3express.DirectoryBucketLifecycleConfiguration | undefined>; /** * Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'. */ readonly locationName: pulumi.Output<string>; readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a DirectoryBucket 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: DirectoryBucketArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DirectoryBucket resource. */ export interface DirectoryBucketArgs { /** * Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see [Setting and monitoring default encryption for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html) in the *Amazon S3 User Guide* . */ bucketEncryption?: pulumi.Input<inputs.s3express.DirectoryBucketBucketEncryptionArgs>; /** * Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name. */ bucketName?: pulumi.Input<string>; /** * Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket. */ dataRedundancy: pulumi.Input<enums.s3express.DirectoryBucketDataRedundancy>; /** * Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime. */ lifecycleConfiguration?: pulumi.Input<inputs.s3express.DirectoryBucketLifecycleConfigurationArgs>; /** * Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'. */ locationName: pulumi.Input<string>; tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }