Class CfnTableBucket
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.s3tables.CfnTableBucket
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ITableBucketRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:28.906Z")
@Stability(Stable)
public class CfnTableBucket
extends CfnResource
implements IInspectable, ITableBucketRef, ITaggableV2
Creates a table bucket.
For more information, see Creating a table bucket in the Amazon Simple Storage Service User Guide .
- Permissions - - You must have the
s3tables:CreateTableBucketpermission to use this operation. - If you use this operation with the optional
encryptionConfigurationparameter you must have thes3tables:PutTableBucketEncryptionpermission. - Cloud Development Kit - To use S3 Tables AWS CDK constructs, add the
@aws-cdk/aws-s3tables-alphadependency with one of the following options: - NPM: `npm i
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3tables.*;
CfnTableBucket cfnTableBucket = CfnTableBucket.Builder.create(this, "MyCfnTableBucket")
.tableBucketName("tableBucketName")
// the properties below are optional
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsKeyArn("kmsKeyArn")
.sseAlgorithm("sseAlgorithm")
.build())
.metricsConfiguration(MetricsConfigurationProperty.builder()
.status("status")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.unreferencedFileRemoval(UnreferencedFileRemovalProperty.builder()
.noncurrentDays(123)
.status("status")
.unreferencedDays(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTableBucket.static interfaceConfiguration specifying how data should be encrypted.static interfaceSettings governing the Metric configuration for the table bucket.static interfaceThe unreferenced file removal settings for your table bucket.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.s3tables.ITableBucketRef
ITableBucketRef.Jsii$Default, ITableBucketRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTableBucket(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTableBucket(software.amazon.jsii.JsiiObjectRef objRef) CfnTableBucket(software.constructs.Construct scope, String id, CfnTableBucketProps props) Create a newAWS::S3Tables::TableBucket. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForTableBucket(ITableBucketRef resource) The Amazon Resource Name (ARN) of the table bucket.Tag Manager which manages the tags for this resource.Configuration specifying how data should be encrypted.Settings governing the Metric configuration for the table bucket.The name for the table bucket.A reference to a TableBucket resource.getTags()User tags (key-value pairs) to associate with the table bucket.The unreferenced file removal settings for your table bucket.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnTableBucket.renderProperties(Map<String, Object> props) voidConfiguration specifying how data should be encrypted.voidConfiguration specifying how data should be encrypted.voidSettings governing the Metric configuration for the table bucket.voidSettings governing the Metric configuration for the table bucket.voidsetTableBucketName(String value) The name for the table bucket.voidUser tags (key-value pairs) to associate with the table bucket.voidThe unreferenced file removal settings for your table bucket.voidThe unreferenced file removal settings for your table bucket.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTableBucket
protected CfnTableBucket(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTableBucket
protected CfnTableBucket(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTableBucket
@Stability(Stable) public CfnTableBucket(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTableBucketProps props) Create a newAWS::S3Tables::TableBucket.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForTableBucket
@Stability(Stable) @NotNull public static String arnForTableBucket(@NotNull ITableBucketRef resource) - Parameters:
resource- This parameter is required.
-
isCfnTableBucket
Checks whether the given object is a CfnTableBucket.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrTableBucketArn
The Amazon Resource Name (ARN) of the table bucket. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTableBucketRef
A reference to a TableBucket resource.- Specified by:
getTableBucketRefin interfaceITableBucketRef
-
getTableBucketName
The name for the table bucket. -
setTableBucketName
The name for the table bucket. -
getEncryptionConfiguration
Configuration specifying how data should be encrypted.Returns union: either
IResolvableorCfnTableBucket.EncryptionConfigurationProperty -
setEncryptionConfiguration
Configuration specifying how data should be encrypted. -
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnTableBucket.EncryptionConfigurationProperty value) Configuration specifying how data should be encrypted. -
getMetricsConfiguration
Settings governing the Metric configuration for the table bucket.Returns union: either
IResolvableorCfnTableBucket.MetricsConfigurationProperty -
setMetricsConfiguration
Settings governing the Metric configuration for the table bucket. -
setMetricsConfiguration
@Stability(Stable) public void setMetricsConfiguration(@Nullable CfnTableBucket.MetricsConfigurationProperty value) Settings governing the Metric configuration for the table bucket. -
getTags
User tags (key-value pairs) to associate with the table bucket. -
setTags
User tags (key-value pairs) to associate with the table bucket. -
getUnreferencedFileRemoval
The unreferenced file removal settings for your table bucket.Returns union: either
IResolvableorCfnTableBucket.UnreferencedFileRemovalProperty -
setUnreferencedFileRemoval
The unreferenced file removal settings for your table bucket. -
setUnreferencedFileRemoval
@Stability(Stable) public void setUnreferencedFileRemoval(@Nullable CfnTableBucket.UnreferencedFileRemovalProperty value) The unreferenced file removal settings for your table bucket.
-