S3Tables / Client / create_table_bucket
create_table_bucket¶
- S3Tables.Client.create_table_bucket(**kwargs)¶
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.You must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTableBucketpermission to create a table bucket with tags.
See also: AWS API Documentation
Request Syntax
response = client.create_table_bucket( name='string', encryptionConfiguration={ 'sseAlgorithm': 'AES256'|'aws:kms', 'kmsKeyArn': 'string' }, tags={ 'string': 'string' } )
- Parameters:
name (string) –
[REQUIRED]
The name for the table bucket.
encryptionConfiguration (dict) –
The encryption configuration to use for the table bucket. This configuration specifies the default encryption settings that will be applied to all tables created in this bucket unless overridden at the table level. The configuration includes the encryption algorithm and, if using SSE-KMS, the KMS key to use.
sseAlgorithm (string) – [REQUIRED]
The server-side encryption algorithm to use. Valid values are
AES256for S3-managed encryption keys, oraws:kmsfor Amazon Web Services KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.kmsKeyArn (string) –
The Amazon Resource Name (ARN) of the KMS key to use for encryption. This field is required only when
sseAlgorithmis set toaws:kms.
tags (dict) –
A map of user-defined tags that you would like to apply to the table bucket that you are creating. A tag is a key-value pair that you apply to your resources. Tags can help you organize and control access to resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).
Note
You must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTableBucketpermisson to create a table bucket with tags.(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string' }
Response Structure
(dict) –
arn (string) –
The Amazon Resource Name (ARN) of the table bucket.
Exceptions