-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTable_RetentionPropertiesProperty.go
28 lines (25 loc) · 1.6 KB
/
CfnTable_RetentionPropertiesProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package awstimestream
// Retention properties contain the duration for which your time-series data must be stored in the magnetic store and the memory store.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// retentionPropertiesProperty := &RetentionPropertiesProperty{
// MagneticStoreRetentionPeriodInDays: jsii.String("magneticStoreRetentionPeriodInDays"),
// MemoryStoreRetentionPeriodInHours: jsii.String("memoryStoreRetentionPeriodInHours"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-table-retentionproperties.html
//
type CfnTable_RetentionPropertiesProperty struct {
// The duration for which data must be stored in the magnetic store.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-table-retentionproperties.html#cfn-timestream-table-retentionproperties-magneticstoreretentionperiodindays
//
MagneticStoreRetentionPeriodInDays *string `field:"optional" json:"magneticStoreRetentionPeriodInDays" yaml:"magneticStoreRetentionPeriodInDays"`
// The duration for which data must be stored in the memory store.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-table-retentionproperties.html#cfn-timestream-table-retentionproperties-memorystoreretentionperiodinhours
//
MemoryStoreRetentionPeriodInHours *string `field:"optional" json:"memoryStoreRetentionPeriodInHours" yaml:"memoryStoreRetentionPeriodInHours"`
}