Show / Hide Table of Contents

Class CfnDatastore.RetentionPeriodProperty

How long, in days, message data is kept.

Inheritance
System.Object
CfnDatastore.RetentionPeriodProperty
Implements
CfnDatastore.IRetentionPeriodProperty
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.AWS.IoTAnalytics.dll
Syntax (csharp)
public class RetentionPeriodProperty : Object, CfnDatastore.IRetentionPeriodProperty
Syntax (vb)
Public Class RetentionPeriodProperty
    Inherits Object
    Implements CfnDatastore.IRetentionPeriodProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html

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

RetentionPeriodProperty()

Properties

NumberOfDays

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.Nullable<System.Double>

Remarks

The unlimited parameter must be false.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html#cfn-iotanalytics-datastore-retentionperiod-numberofdays

Unlimited

If true, message data is kept indefinitely.

public object Unlimited { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html#cfn-iotanalytics-datastore-retentionperiod-unlimited

Implements

CfnDatastore.IRetentionPeriodProperty
Back to top Generated by DocFX