@Stability(value=Stable) @Internal public static final class CfnTableProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTableProps
CfnTablePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnTableProps.Builder, CfnTableProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnTableProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnTableProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDatabaseName()
The name of the Timestream database that contains this table.
|
Object |
getMagneticStoreWriteProperties()
Contains properties to set on the table when enabling magnetic store writes.
|
Object |
getRetentionProperties()
The retention duration for the memory store and magnetic store.
|
String |
getTableName()
The name of the Timestream table.
|
List<CfnTag> |
getTags()
The tags to add to the table.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnTableProps.Builder builder)
CfnTableProps.Builder.public final String getDatabaseName()
CfnTablePropsLength Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
getDatabaseName in interface CfnTablePropspublic final Object getMagneticStoreWriteProperties()
CfnTablePropsThis object has the following attributes:
boolean flag to enable magnetic store writes.S3Configuration objects are allowed. The S3Configuration object has the following attributes:SSE_S3 ) or AWS managed key ( SSE_KMS ).
Both BucketName and EncryptionOption are required when S3Configuration is specified. If you specify SSE_KMS as your EncryptionOption then KmsKeyId is required .
EnableMagneticStoreWrites attribute is required when MagneticStoreWriteProperties is specified. MagneticStoreRejectedDataLocation attribute is required when EnableMagneticStoreWrites is set to true .
See the following examples:
JSON
{ "Type" : AWS::Timestream::Table", "Properties":{ "DatabaseName":"TestDatabase", "TableName":"TestTable", "MagneticStoreWriteProperties":{ "EnableMagneticStoreWrites":true, "MagneticStoreRejectedDataLocation":{ "S3Configuration":{ "BucketName":"testbucket", "EncryptionOption":"SSE_KMS", "KmsKeyId":"1234abcd-12ab-34cd-56ef-1234567890ab", "ObjectKeyPrefix":"prefix" } } } }
}
YAML
Type: AWS::Timestream::Table DependsOn: TestDatabase Properties: TableName: "TestTable" DatabaseName: "TestDatabase" MagneticStoreWriteProperties: EnableMagneticStoreWrites: true MagneticStoreRejectedDataLocation: S3Configuration: BucketName: "testbucket" EncryptionOption: "SSE_KMS" BucketName: "1234abcd-12ab-34cd-56ef-1234567890ab" EncryptionOption: "prefix"
getMagneticStoreWriteProperties in interface CfnTablePropspublic final Object getRetentionProperties()
CfnTableProps
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"
getRetentionProperties in interface CfnTablePropspublic final String getTableName()
CfnTablePropsLength Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
getTableName in interface CfnTablePropspublic final List<CfnTag> getTags()
CfnTablePropsgetTags in interface CfnTableProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.