interface CfnTableProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_s3tables.CfnTableProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awss3tables#CfnTableProps |
![]() | software.amazon.awscdk.services.s3tables.CfnTableProps |
![]() | aws_cdk.aws_s3tables.CfnTableProps |
![]() | aws-cdk-lib » aws_s3tables » CfnTableProps |
Properties for defining a CfnTable
.
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 { aws_s3tables as s3tables } from 'aws-cdk-lib';
const cfnTableProps: s3tables.CfnTableProps = {
namespace: 'namespace',
openTableFormat: 'openTableFormat',
tableBucketArn: 'tableBucketArn',
tableName: 'tableName',
// the properties below are optional
compaction: {
status: 'status',
targetFileSizeMb: 123,
},
icebergMetadata: {
icebergSchema: {
schemaFieldList: [{
name: 'name',
type: 'type',
// the properties below are optional
required: false,
}],
},
},
snapshotManagement: {
maxSnapshotAgeHours: 123,
minSnapshotsToKeep: 123,
status: 'status',
},
withoutMetadata: 'withoutMetadata',
};
Properties
Name | Type | Description |
---|---|---|
namespace | string | The name of the namespace. |
open | string | Format of the table. |
table | string | The Amazon Resource Name (ARN) of the specified table bucket. |
table | string | The name for the table. |
compaction? | IResolvable | Compaction | Settings governing the Compaction maintenance action. |
iceberg | IResolvable | Iceberg | Contains details about the metadata for an Iceberg table. |
snapshot | IResolvable | Snapshot | Contains details about the snapshot management settings for an Iceberg table. |
without | string | Indicates that you don't want to specify a schema for the table. |
namespace
Type:
string
The name of the namespace.
openTableFormat
Type:
string
Format of the table.
tableBucketArn
Type:
string
The Amazon Resource Name (ARN) of the specified table bucket.
tableName
Type:
string
The name for the table.
compaction?
Type:
IResolvable
|
Compaction
(optional)
Settings governing the Compaction maintenance action.
Contains details about the compaction settings for an Iceberg table.
icebergMetadata?
Type:
IResolvable
|
Iceberg
(optional)
Contains details about the metadata for an Iceberg table.
snapshotManagement?
Type:
IResolvable
|
Snapshot
(optional)
Contains details about the snapshot management settings for an Iceberg table.
A snapshot is expired when it exceeds MinSnapshotsToKeep and MaxSnapshotAgeHours.
withoutMetadata?
Type:
string
(optional)
Indicates that you don't want to specify a schema for the table.
This property is mutually exclusive to 'IcebergMetadata', and its only possible value is 'Yes'.