interface RetentionPeriodProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_rbin.CfnRule.RetentionPeriodProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrbin#CfnRule_RetentionPeriodProperty |
Java | software.amazon.awscdk.services.rbin.CfnRule.RetentionPeriodProperty |
Python | aws_cdk.aws_rbin.CfnRule.RetentionPeriodProperty |
TypeScript | aws-cdk-lib » aws_rbin » CfnRule » RetentionPeriodProperty |
Information about the retention period for which the retention rule is to retain resources.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rbin as rbin } from 'aws-cdk-lib';
const retentionPeriodProperty: rbin.CfnRule.RetentionPeriodProperty = {
retentionPeriodUnit: 'retentionPeriodUnit',
retentionPeriodValue: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| retention | string | The unit of time in which the retention period is measured. |
| retention | number | The period value for which the retention rule is to retain resources. |
retentionPeriodUnit
Type:
string
The unit of time in which the retention period is measured.
Currently, only DAYS is supported.
retentionPeriodValue
Type:
number
The period value for which the retention rule is to retain resources.
The period is measured using the unit specified for RetentionPeriodUnit .

.NET
Go
Java
Python
TypeScript