We recommend new projects start with resources from the AWS provider.
aws-native.s3express.DirectoryBucket
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::S3Express::DirectoryBucket.
Create DirectoryBucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DirectoryBucket(name: string, args: DirectoryBucketArgs, opts?: CustomResourceOptions);
@overload
def DirectoryBucket(resource_name: str,
args: DirectoryBucketArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DirectoryBucket(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_redundancy: Optional[DirectoryBucketDataRedundancy] = None,
location_name: Optional[str] = None,
bucket_encryption: Optional[Any] = None,
bucket_name: Optional[str] = None)
func NewDirectoryBucket(ctx *Context, name string, args DirectoryBucketArgs, opts ...ResourceOption) (*DirectoryBucket, error)
public DirectoryBucket(string name, DirectoryBucketArgs args, CustomResourceOptions? opts = null)
public DirectoryBucket(String name, DirectoryBucketArgs args)
public DirectoryBucket(String name, DirectoryBucketArgs args, CustomResourceOptions options)
type: aws-native:s3express:DirectoryBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DirectoryBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DirectoryBucketArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DirectoryBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DirectoryBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DirectoryBucketArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DirectoryBucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DirectoryBucket resource accepts the following input properties:
- Data
Redundancy Pulumi.Aws Native. S3Express. Directory Bucket Data Redundancy - Specifies the number of Availability Zone that's used for redundancy for the bucket.
- Location
Name string - Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
- Bucket
Encryption object 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 in the Amazon S3 User Guide .
Search the CloudFormation User Guide for
AWS::S3Express::DirectoryBucket
for more information about the expected schema for this property.- Bucket
Name string - 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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
- Data
Redundancy DirectoryBucket Data Redundancy - Specifies the number of Availability Zone that's used for redundancy for the bucket.
- Location
Name string - Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
- Bucket
Encryption interface{} 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 in the Amazon S3 User Guide .
Search the CloudFormation User Guide for
AWS::S3Express::DirectoryBucket
for more information about the expected schema for this property.- Bucket
Name string - 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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
- data
Redundancy DirectoryBucket Data Redundancy - Specifies the number of Availability Zone that's used for redundancy for the bucket.
- location
Name String - Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
- bucket
Encryption Object 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 in the Amazon S3 User Guide .
Search the CloudFormation User Guide for
AWS::S3Express::DirectoryBucket
for more information about the expected schema for this property.- bucket
Name String - 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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
- data
Redundancy DirectoryBucket Data Redundancy - Specifies the number of Availability Zone that's used for redundancy for the bucket.
- location
Name string - Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
- bucket
Encryption any 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 in the Amazon S3 User Guide .
Search the CloudFormation User Guide for
AWS::S3Express::DirectoryBucket
for more information about the expected schema for this property.- bucket
Name string - 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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
- data_
redundancy DirectoryBucket Data Redundancy - Specifies the number of Availability Zone that's used for redundancy for the bucket.
- location_
name str - Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
- bucket_
encryption Any 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 in the Amazon S3 User Guide .
Search the CloudFormation User Guide for
AWS::S3Express::DirectoryBucket
for more information about the expected schema for this property.- bucket_
name str - 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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
- data
Redundancy "SingleAvailability Zone" - Specifies the number of Availability Zone that's used for redundancy for the bucket.
- location
Name String - Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
- bucket
Encryption Any 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 in the Amazon S3 User Guide .
Search the CloudFormation User Guide for
AWS::S3Express::DirectoryBucket
for more information about the expected schema for this property.- bucket
Name String - 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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
Outputs
All input properties are implicitly available as output properties. Additionally, the DirectoryBucket resource produces the following output properties:
- Arn string
- Returns the Amazon Resource Name (ARN) of the specified bucket.
- Availability
Zone stringName - Returns the code for the Availability Zone where the directory bucket was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- Returns the Amazon Resource Name (ARN) of the specified bucket.
- Availability
Zone stringName - Returns the code for the Availability Zone where the directory bucket was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- Returns the Amazon Resource Name (ARN) of the specified bucket.
- availability
Zone StringName - Returns the code for the Availability Zone where the directory bucket was created.
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- Returns the Amazon Resource Name (ARN) of the specified bucket.
- availability
Zone stringName - Returns the code for the Availability Zone where the directory bucket was created.
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- Returns the Amazon Resource Name (ARN) of the specified bucket.
- availability_
zone_ strname - Returns the code for the Availability Zone where the directory bucket was created.
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- Returns the Amazon Resource Name (ARN) of the specified bucket.
- availability
Zone StringName - Returns the code for the Availability Zone where the directory bucket was created.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
DirectoryBucketDataRedundancy, DirectoryBucketDataRedundancyArgs
- Single
Availability Zone - SingleAvailabilityZone
- Directory
Bucket Data Redundancy Single Availability Zone - SingleAvailabilityZone
- Single
Availability Zone - SingleAvailabilityZone
- Single
Availability Zone - SingleAvailabilityZone
- SINGLE_AVAILABILITY_ZONE
- SingleAvailabilityZone
- "Single
Availability Zone" - SingleAvailabilityZone
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.