Skip to content
v2.277.0

Experimental

@aws-cdk/aws-s3tables-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

StorageClass Enum ​

Storage class for S3 Tables.

Determines the storage tier used for table data, allowing optimization for different access patterns and cost profiles.

Example ​

ts
// Create a table bucket with INTELLIGENT_TIERING storage class
const tableBucketWithStorageClass = new TableBucket(scope, 'TableBucketWithStorageClass', {
    tableBucketName: 'storage-class-bucket',
    storageClass: StorageClass.INTELLIGENT_TIERING,
});
python
# Create a table bucket with INTELLIGENT_TIERING storage class
table_bucket_with_storage_class = TableBucket(scope, "TableBucketWithStorageClass",
    table_bucket_name="storage-class-bucket",
    storage_class=StorageClass.INTELLIGENT_TIERING
)
java
// Create a table bucket with INTELLIGENT_TIERING storage class
TableBucket tableBucketWithStorageClass = TableBucket.Builder.create(scope, "TableBucketWithStorageClass")
        .tableBucketName("storage-class-bucket")
        .storageClass(StorageClass.INTELLIGENT_TIERING)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.S3Tables.Alpha
// Create a table bucket with INTELLIGENT_TIERING storage class
var tableBucketWithStorageClass = new TableBucket(scope, "TableBucketWithStorageClass", new TableBucketProps {
    TableBucketName = "storage-class-bucket",
    StorageClass = StorageClass.INTELLIGENT_TIERING
});
go
// Create a table bucket with INTELLIGENT_TIERING storage class
tableBucketWithStorageClass := awscdkawss3tablesalpha.NewTableBucket(*scope, jsii.String("TableBucketWithStorageClass"), &TableBucketProps{
	TableBucketName: jsii.String("storage-class-bucket"),
	StorageClass: *awscdkawss3tablesalpha.StorageClass_INTELLIGENT_TIERING,
})

Members ​

MemberDescription
STANDARDStandard storage class for frequently accessed data.
INTELLIGENT_TIERINGIntelligent-Tiering storage class that automatically moves data between access tiers.

Referenced by ​

  • TableBucketProps.storageClassstorage_classstorageClassStorageClassStorageClass
  • TableProps.storageClassstorage_classstorageClassStorageClassStorageClass