| Modifier and Type | Method and Description |
|---|---|
CfnTable |
build() |
static CfnTable.Builder |
create(Construct scope,
String id) |
CfnTable.Builder |
databaseName(String databaseName)
The name of the Timestream database that contains this table.
|
CfnTable.Builder |
retentionProperties(Object retentionProperties)
The retention duration for the memory store and magnetic store.
|
CfnTable.Builder |
tableName(String tableName)
The name of the Timestream table.
|
CfnTable.Builder |
tags(List<? extends CfnTag> tags)
The tags to add to the table.
|
@Stability(value=Stable) public static CfnTable.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnTable.Builder.@Stability(value=Stable) public CfnTable.Builder databaseName(String databaseName)
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
databaseName - The name of the Timestream database that contains this table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder retentionProperties(Object retentionProperties)
Both attributes are of type string . Both attributes are required when RetentionProperties is specified.
See the following examples:
JSON
{ "Type" : AWS::Timestream::Table", "Properties" : { "DatabaseName" : "TestDatabase", "TableName" : "TestTable", "RetentionProperties" : { "MemoryStoreRetentionPeriodInHours": "24", "MagneticStoreRetentionPeriodInDays": "7" } } }
YAML
Type: AWS::Timestream::Table DependsOn: TestDatabase Properties: TableName: "TestTable" DatabaseName: "TestDatabase" RetentionProperties: MemoryStoreRetentionPeriodInHours: "24" MagneticStoreRetentionPeriodInDays: "7"
retentionProperties - The retention duration for the memory store and magnetic store. This object has the following attributes:. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder tableName(String tableName)
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
tableName - The name of the Timestream table. This parameter is required.this@Stability(value=Stable) public CfnTable.Builder tags(List<? extends CfnTag> tags)
tags - The tags to add to the table. This parameter is required.thisCopyright © 2022. All rights reserved.