# DkimIdentityConfig

Configuration for DKIM identity.

- Source: [`aws-ses/lib/email-identity.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ses/lib/email-identity.ts#L187)
- Type last changed: v2.32.0 · 14 Jul 2022

## 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 dkimIdentityConfig: ses.DkimIdentityConfig = {
  domainSigningPrivateKey: 'domainSigningPrivateKey',
  domainSigningSelector: 'domainSigningSelector',
  nextSigningKeyLength: ses.EasyDkimSigningKeyLength.RSA_1024_BIT,
};
```

## Properties

- `domainSigningPrivateKey`: string — A private key that's used to generate a DKIM signature.

  **Default:** use Easy DKIM

- `domainSigningSelector`: string — A string that's used to identify a public key in the DNS configuration for a domain.

  **Default:** use Easy DKIM

- `nextSigningKeyLength`: [EasyDkimSigningKeyLength](/cdk/api/v2/docs/aws-cdk-lib.aws_ses.EasyDkimSigningKeyLength.html) — The key length of the future DKIM key pair to be generated.

  **Default:** EasyDkimSigningKeyLength.RSA_2048_BIT

  This can be changed
  at most once per day.
