AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::S3Tables::TableBucket

CfnTableBucket

Creates a table bucket. For more information, see [Creating a table bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-create.html) in the *Amazon Simple Storage Service User Guide* . - **Permissions** - - You must have the `s3tables:CreateTableBucket` permission to use this operation. - If you use this operation with the optional `encryptionConfiguration` parameter you must have the `s3tables:PutTableBucketEncryption` permission. - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options: - NPM: `npm i

Import

import { CfnTableBucket } from 'aws-cdk-lib/aws-s3tables';

Or use the module namespace:

import * as s3tables from 'aws-cdk-lib/aws-s3tables';
// s3tables.CfnTableBucket

Properties

Configuration passed to the constructor as CfnTableBucketProps.

tableBucketNameRequired
string

The name for the table bucket.

encryptionConfigurationOptional
IResolvable | EncryptionConfigurationProperty

Configuration specifying how data should be encrypted. This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.

metricsConfigurationOptional
IResolvable | MetricsConfigurationProperty

Settings governing the Metric configuration for the table bucket.

replicationConfigurationOptional
IResolvable | ReplicationConfigurationProperty

Specifies replication configuration for the table bucket.

storageClassConfigurationOptional
IResolvable | StorageClassConfigurationProperty

The configuration details for the storage class of tables or table buckets. This allows you to optimize storage costs by selecting the appropriate storage class based on your access patterns and performance requirements.

tagsOptional
CfnTag[]

User tags (key-value pairs) to associate with the table bucket.

unreferencedFileRemovalOptional
IResolvable | UnreferencedFileRemovalProperty

The unreferenced file removal settings for your table bucket. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the [*Amazon S3 User Guide*](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-s3tables
CFN TypeAWS::S3Tables::TableBucket
Properties7

External Links