AWS::S3Express::DirectoryBucketResource Type definition for AWS::S3Express::DirectoryBucket.
6 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DataRedundancy | string | RequiredCreate-only |
LocationName | string | RequiredCreate-only |
BucketEncryption | BucketEncryption | |
BucketName | string | Create-only |
LifecycleConfiguration | LifecycleConfiguration | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | Returns the Amazon Resource Name (ARN) of the specified bucket. |
AvailabilityZoneName | 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'. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::S3Express::DirectoryBucket
Resources:
MyResource:
Type: AWS::S3Express::DirectoryBucket
Properties:
LocationName: "my-locationname"
DataRedundancy: "SingleAvailabilityZone"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
s3express:ListAllMyDirectoryBucketsec2:DescribeAvailabilityZoness3express:GetEncryptionConfigurations3express:GetLifecycleConfigurations3express:GetMetricsConfigurations3express:ListTagsForResourcekms:GenerateDataKeykms:Decrypts3express:CreateBuckets3express:ListAllMyDirectoryBucketss3express:PutEncryptionConfigurations3express:PutLifecycleConfigurations3express:PutMetricsConfigurations3express:TagResourcekms:GenerateDataKeykms:Decrypts3express:PutEncryptionConfigurations3express:PutLifecycleConfigurations3express:PutMetricsConfigurations3express:TagResources3express:UntagResources3express:ListAllMyDirectoryBucketss3express:DeleteBuckets3express:ListAllMyDirectoryBucketsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterBucketNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
BucketNameLocationNameDataRedundancy