aws-cdk-lib.aws_iotanalytics.CfnDataset.RetentionPeriodProperty

interface RetentionPeriodProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnDataset.RetentionPeriodProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDataset_RetentionPeriodProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnDataset.RetentionPeriodProperty
Pythonaws_cdk.aws_iotanalytics.CfnDataset.RetentionPeriodProperty
TypeScript aws-cdk-lib » aws_iotanalytics » CfnDataset » 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-lib';
const retentionPeriodProperty: iotanalytics.CfnDataset.RetentionPeriodProperty = {
  numberOfDays: 123,
  unlimited: false,
};

Properties

NameTypeDescription
numberOfDays?numberThe number of days that message data is kept.
unlimited?boolean | IResolvableIf 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.