RetentionPeriodProperty Struct
How long, in days, message data is kept.
Example
ts
// 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
numberOfDaysoptionalnumbernumber_of_daysoptionalint | floatnumberOfDaysoptionalNumberNumberOfDaysoptionaldoubleNumberOfDaysoptional*float64#The number of days that message data is kept.
The unlimited parameter must be false.
unlimitedoptionalboolean | IResolvableunlimitedoptionaltyping.Union[bool, IResolvable]unlimitedoptionalBooleanUnlimitedoptionalboolUnlimitedoptionalinterface{}#If true, message data is kept indefinitely.