interface ArchiveRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DLM.CfnLifecyclePolicyPropsMixin.ArchiveRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdlm#CfnLifecyclePolicyPropsMixin_ArchiveRuleProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.dlm.CfnLifecyclePolicyPropsMixin.ArchiveRuleProperty |
Python | aws_cdk.cfn_property_mixins.aws_dlm.CfnLifecyclePolicyPropsMixin.ArchiveRuleProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_dlm » CfnLifecyclePolicyPropsMixin » ArchiveRuleProperty |
[Custom snapshot policies only] Specifies a snapshot archiving rule for a schedule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dlm as dlm } from '@aws-cdk/cfn-property-mixins';
const archiveRuleProperty: dlm.CfnLifecyclePolicyPropsMixin.ArchiveRuleProperty = {
retainRule: {
retentionArchiveTier: {
count: 123,
interval: 123,
intervalUnit: 'intervalUnit',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| retain | IResolvable | Archive | Information about the retention period for the snapshot archiving rule. |
retainRule?
Type:
IResolvable | Archive
(optional)
Information about the retention period for the snapshot archiving rule.

.NET
Go
Java
Python
TypeScript