# CfnMailManagerArchiveProps

Properties for defining a `CfnMailManagerArchive`.

Extends: CfnMailManagerArchiveProps
Used as props by: CfnMailManagerArchive

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const cfnMailManagerArchiveProps: ses.CfnMailManagerArchiveProps = {
  archiveName: 'archiveName',
  kmsKeyArn: 'kmsKeyArn',
  retention: {
    retentionPeriod: 'retentionPeriod',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `archiveName`: string — A unique name for the new archive.

- `kmsKeyArn`: string — The Amazon Resource Name (ARN) of the KMS key for encrypting emails in the archive.

- `retention`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMailManagerArchive.ArchiveRetentionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnMailManagerArchive.ArchiveRetentionProperty.html) — The period for retaining emails in the archive before automatic deletion.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags used to organize, track, or control access for the resource.

  For example, { "tags": {"key1":"value1", "key2":"value2"} }.
