public static final class CfnTableProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTableProps
CfnTableProps
CfnTableProps.Builder, CfnTableProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.String |
getDatabaseName()
The name of the Timestream database that contains this table.
|
java.lang.Object |
getMagneticStoreWriteProperties()
Contains properties to set on the table when enabling magnetic store writes.
|
java.lang.Object |
getRetentionProperties()
The retention duration for the memory store and magnetic store.
|
java.lang.String |
getTableName()
The name of the Timestream table.
|
java.util.List<CfnTag> |
getTags()
The tags to add to the table.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getDatabaseName()
CfnTableProps
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
getDatabaseName
in interface CfnTableProps
public final java.lang.Object getMagneticStoreWriteProperties()
CfnTableProps
This 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 CfnTableProps
public final java.lang.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 CfnTableProps
public final java.lang.String getTableName()
CfnTableProps
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
getTableName
in interface CfnTableProps
public final java.util.List<CfnTag> getTags()
CfnTableProps
getTags
in interface CfnTableProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()