Class CfnDatastore.RetentionPeriodProperty
How long, in days, message data is kept.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RetentionPeriodProperty : Object, CfnDatastore.IRetentionPeriodProperty
Syntax (vb)
Public Class RetentionPeriodProperty
Inherits Object
Implements CfnDatastore.IRetentionPeriodProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;
var retentionPeriodProperty = new RetentionPeriodProperty {
NumberOfDays = 123,
Unlimited = false
};
Synopsis
Constructors
Retention |
Properties
Number |
The number of days that message data is kept. |
Unlimited | If true, message data is kept indefinitely. |
Constructors
RetentionPeriodProperty()
public RetentionPeriodProperty()
Properties
NumberOfDays
The number of days that message data is kept.
public Nullable<double> NumberOfDays { get; set; }
Property Value
System.
Remarks
The unlimited
parameter must be false.
Unlimited
If true, message data is kept indefinitely.
public object Unlimited { get; set; }
Property Value
System.