Class CfnRule.RetentionPeriodProperty
Information about the retention period for which the retention rule is to retain resources.
Inheritance
Implements
Namespace: Amazon.CDK.AwsRbin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RetentionPeriodProperty : Object, CfnRule.IRetentionPeriodProperty
Syntax (vb)
Public Class RetentionPeriodProperty
Inherits Object
Implements CfnRule.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_rbin;
var retentionPeriodProperty = new RetentionPeriodProperty {
RetentionPeriodUnit = "retentionPeriodUnit",
RetentionPeriodValue = 123
};
Synopsis
Constructors
Retention |
Properties
Retention |
The unit of time in which the retention period is measured. |
Retention |
The period value for which the retention rule is to retain resources. |
Constructors
RetentionPeriodProperty()
public RetentionPeriodProperty()
Properties
RetentionPeriodUnit
The unit of time in which the retention period is measured.
public string RetentionPeriodUnit { get; set; }
Property Value
System.
Remarks
Currently, only DAYS
is supported.
RetentionPeriodValue
The period value for which the retention rule is to retain resources.
public double RetentionPeriodValue { get; set; }
Property Value
System.
Remarks
The period is measured using the unit specified for RetentionPeriodUnit .