# ArchiveRuleProperty

*[Custom snapshot policies only]* Specifies a snapshot archiving rule for a schedule.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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-lib';
const archiveRuleProperty: dlm.CfnLifecyclePolicy.ArchiveRuleProperty = {
  retainRule: {
    retentionArchiveTier: {
      count: 123,
      interval: 123,
      intervalUnit: 'intervalUnit',
    },
  },
};
```

## Properties

- `retainRule`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLifecyclePolicy.ArchiveRetainRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_dlm.CfnLifecyclePolicy.ArchiveRetainRuleProperty.html) (required) — Information about the retention period for the snapshot archiving rule.
