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

S3Express DirectoryBucket

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

Properties

8 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
InventoryConfigurations
Array<InventoryConfiguration>
LifecycleConfiguration
LifecycleConfiguration
MetricsConfigurations
Array<MetricsConfiguration>
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.

create

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

read

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

update

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

delete

s3express:DeleteBuckets3express:ListAllMyDirectoryBuckets

list

s3express: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
Properties10
Required2
TaggingSupported
Primary IDBucketName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

BucketNameLocationNameDataRedundancy

Related Resources

External Links