interface RetentionPeriodProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnChannel.RetentionPeriodProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnChannel_RetentionPeriodProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnChannel.RetentionPeriodProperty |
Python | aws_cdk.aws_iotanalytics.CfnChannel.RetentionPeriodProperty |
TypeScript | aws-cdk-lib » aws_iotanalytics » CfnChannel » 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.CfnChannel.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.