interface RetentionPeriodProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTAnalytics.CfnDatastorePropsMixin.RetentionPeriodProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiotanalytics#CfnDatastorePropsMixin_RetentionPeriodProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatastorePropsMixin.RetentionPeriodProperty |
Python | aws_cdk.cfn_property_mixins.aws_iotanalytics.CfnDatastorePropsMixin.RetentionPeriodProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iotanalytics » CfnDatastorePropsMixin » RetentionPeriodProperty |
How long, in days, message data is kept.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from '@aws-cdk/cfn-property-mixins';
const retentionPeriodProperty: iotanalytics.CfnDatastorePropsMixin.RetentionPeriodProperty = {
numberOfDays: 123,
unlimited: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| number | number | The number of days that message data is kept. |
| unlimited? | boolean | IResolvable | If true, message data is kept indefinitely. |
numberOfDays?
Type:
number
(optional)
The number of days that message data is kept.
The unlimited parameter must be false.
unlimited?
Type:
boolean | IResolvable
(optional)
If true, message data is kept indefinitely.

.NET
Go
Java
Python
TypeScript