AWS Fundamentals Logo
AWS Fundamentals
AWS::S3Express::DirectoryBucket

S3Express DirectoryBucket

Resource Type definition for AWS::S3Express::DirectoryBucket.

Properties

6 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
DataRedundancy
string
RequiredCreate-only
LocationName
string
RequiredCreate-only
BucketEncryption
BucketEncryption
BucketName
string
Create-only
LifecycleConfiguration
LifecycleConfiguration
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringReturns the Amazon Resource Name (ARN) of the specified bucket.
AvailabilityZoneNamestringReturns 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'.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

s3express:ListAllMyDirectoryBucketsec2:DescribeAvailabilityZoness3express:GetEncryptionConfigurations3express:GetLifecycleConfigurations3express:GetMetricsConfigurations3express:ListTagsForResource

create

kms:GenerateDataKeykms:Decrypts3express:CreateBuckets3express:ListAllMyDirectoryBucketss3express:PutEncryptionConfigurations3express:PutLifecycleConfigurations3express:PutMetricsConfigurations3express:TagResource

update

kms:GenerateDataKeykms:Decrypts3express:PutEncryptionConfigurations3express:PutLifecycleConfigurations3express:PutMetricsConfigurations3express:TagResources3express:UntagResource

list

s3express:ListAllMyDirectoryBuckets

delete

s3express:DeleteBuckets3express:ListAllMyDirectoryBuckets

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceS3Express
Properties8
Required2
TaggingSupported
Primary IDBucketName

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

BucketNameLocationNameDataRedundancy

Related Resources

External Links