# AWS::Timestream::Table RetentionProperties The retention duration of the memory store and the magnetic store. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "MemoryStoreRetentionPeriodInHours" : String,
    "MagneticStoreRetentionPeriodInDays" : String
}
### YAML
MemoryStoreRetentionPeriodInHours: String
MagneticStoreRetentionPeriodInDays: String
## Properties #### MemoryStoreRetentionPeriodInHours The duration for which data must be stored in the memory store. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### MagneticStoreRetentionPeriodInDays The duration for which data must be stored in the magnetic store. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)