Skip to content

TableBucket

Source: src/AWS/S3Tables/TableBucket.ts

An Amazon S3 Tables table bucket — a purpose-built bucket for storing fully-managed Apache Iceberg tables.

A table bucket is regional and holds Namespaces, which in turn hold Tables. The bucket name is auto-generated from the app, stage, and logical ID unless you provide one explicitly.

Basic Table Bucket

import * as S3Tables from "alchemy/AWS/S3Tables";
const bucket = yield* S3Tables.TableBucket("Analytics");

Named Table Bucket

const bucket = yield* S3Tables.TableBucket("Analytics", {
name: "my-analytics-tables",
});
const bucket = yield* S3Tables.TableBucket("Secure", {
encryptionConfiguration: {
sseAlgorithm: "aws:kms",
kmsKeyArn: key.keyArn,
},
});