Class CfnTableMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnTableMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnTableMixinProps
CfnTableMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnTableMixinProps
CfnTableMixinProps.Builder, CfnTableMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnTableMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnTableMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe name of the Timestream database that contains this table.final ObjectContains properties to set on the table when enabling magnetic store writes.final ObjectThe retention duration for the memory store and magnetic store.final ObjectThe schema of the table.final StringThe name of the Timestream table.getTags()The tags to add to the table.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnTableMixinProps.Builder.
-
-
Method Details
-
getDatabaseName
Description copied from interface:CfnTableMixinPropsThe name of the Timestream database that contains this table.Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
Returns union: either
StringorIDatabaseRef- Specified by:
getDatabaseNamein interfaceCfnTableMixinProps- See Also:
-
getMagneticStoreWriteProperties
Description copied from interface:CfnTableMixinPropsContains properties to set on the table when enabling magnetic store writes.This object has the following attributes:
- EnableMagneticStoreWrites : A
booleanflag to enable magnetic store writes. - MagneticStoreRejectedDataLocation : The location to write error reports for records rejected, asynchronously, during magnetic store writes. Only
S3Configurationobjects are allowed. TheS3Configurationobject has the following attributes: - BucketName : The name of the S3 bucket.
- EncryptionOption : The encryption option for the S3 location. Valid values are S3 server-side encryption with an S3 managed key (
SSE_S3) or AWS managed key (SSE_KMS). - KmsKeyId : The AWS KMS key ID to use when encrypting with an AWS managed key.
- ObjectKeyPrefix : The prefix to use option for the objects stored in S3.
Both
BucketNameandEncryptionOptionare required whenS3Configurationis specified. If you specifySSE_KMSas yourEncryptionOptionthenKmsKeyIdis required .EnableMagneticStoreWritesattribute is required whenMagneticStoreWritePropertiesis specified.MagneticStoreRejectedDataLocationattribute is required whenEnableMagneticStoreWritesis set totrue.See the following examples:
JSON
{ "Type" : AWS::Timestream::Table", "Properties":{ "DatabaseName":"TestDatabase", "TableName":"TestTable", "MagneticStoreWriteProperties":{ "EnableMagneticStoreWrites":true, "MagneticStoreRejectedDataLocation":{ "S3Configuration":{ "BucketName":" amzn-s3-demo-bucket ", "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: " amzn-s3-demo-bucket " EncryptionOption: "SSE_KMS" KmsKeyId: "1234abcd-12ab-34cd-56ef-1234567890ab" ObjectKeyPrefix: "prefix"
- Specified by:
getMagneticStoreWritePropertiesin interfaceCfnTableMixinProps- See Also:
- EnableMagneticStoreWrites : A
-
getRetentionProperties
Description copied from interface:CfnTableMixinPropsThe retention duration for the memory store and magnetic store. This object has the following attributes:.- MemoryStoreRetentionPeriodInHours : Retention duration for memory store, in hours.
- MagneticStoreRetentionPeriodInDays : Retention duration for magnetic store, in days.
Both attributes are of type
string. Both attributes are required whenRetentionPropertiesis 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"
- Specified by:
getRetentionPropertiesin interfaceCfnTableMixinProps- See Also:
-
getSchema
Description copied from interface:CfnTableMixinPropsThe schema of the table.Returns union: either
IResolvableorCfnTablePropsMixin.SchemaProperty- Specified by:
getSchemain interfaceCfnTableMixinProps- See Also:
-
getTableName
Description copied from interface:CfnTableMixinPropsThe name of the Timestream table.Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
- Specified by:
getTableNamein interfaceCfnTableMixinProps- See Also:
-
getTags
Description copied from interface:CfnTableMixinPropsThe tags to add to the table.- Specified by:
getTagsin interfaceCfnTableMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-