class CfnTablePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3Tables.Mixins.CfnTablePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3tables/mixins#CfnTablePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.s3tables.mixins.CfnTablePropsMixin |
Python | aws_cdk.mixins_preview.aws_s3tables.mixins.CfnTablePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_s3tables » mixins » CfnTablePropsMixin |
Implements
IMixin
Extends
Mixin
Creates a new table associated with the given namespace in a table bucket.
For more information, see Creating an Amazon S3 table in the Amazon Simple Storage Service User Guide .
- Permissions - - You must have the
s3tables:CreateTablepermission to use this operation. - If you use this operation with the optional
metadatarequest parameter you must have thes3tables:PutTableDatapermission. - If you use this operation with the optional
encryptionConfigurationrequest parameter you must have thes3tables:PutTableEncryptionpermission.
Additionally, 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 .
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
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as s3tables_mixins } from '@aws-cdk/mixins-preview/aws-s3tables';
const cfnTablePropsMixin = new s3tables_mixins.CfnTablePropsMixin({
compaction: {
status: 'status',
targetFileSizeMb: 123,
},
icebergMetadata: {
icebergSchema: {
schemaFieldList: [{
name: 'name',
required: false,
type: 'type',
}],
},
},
namespace: 'namespace',
openTableFormat: 'openTableFormat',
snapshotManagement: {
maxSnapshotAgeHours: 123,
minSnapshotsToKeep: 123,
status: 'status',
},
storageClassConfiguration: {
storageClass: 'storageClass',
},
tableBucketArn: 'tableBucketArn',
tableName: 'tableName',
tags: [{
key: 'key',
value: 'value',
}],
withoutMetadata: 'withoutMetadata',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnTablePropsMixin(props: CfnTableMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Table Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::S3Tables::Table.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript