aws-cdk-lib.aws_ses.ByoDkimOptions

interface ByoDkimOptions

LanguageType name
.NETAmazon.CDK.AWS.SES.ByoDkimOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsses#ByoDkimOptions
Javasoftware.amazon.awscdk.services.ses.ByoDkimOptions
Pythonaws_cdk.aws_ses.ByoDkimOptions
TypeScript (source)aws-cdk-lib » aws_ses » ByoDkimOptions

Options for BYO DKIM.

Example

declare const myHostedZone: route53.IPublicHostedZone;

new ses.EmailIdentity(this, 'Identity', {
  identity: ses.Identity.publicHostedZone(myHostedZone),
  dkimIdentity: ses.DkimIdentity.byoDkim({
    privateKey: SecretValue.secretsManager('dkim-private-key'),
    publicKey: '...base64-encoded-public-key...',
    selector: 'selector',
  }),
});

Properties

NameTypeDescription
privateKeySecretValueThe private key that's used to generate a DKIM signature.
selectorstringA string that's used to identify a public key in the DNS configuration for a domain.
publicKey?stringThe public key.

privateKey

Type: SecretValue

The private key that's used to generate a DKIM signature.


selector

Type: string

A string that's used to identify a public key in the DNS configuration for a domain.


publicKey?

Type: string (optional, default: the validation TXT record with the public key is not created)

The public key.

If specified, a TXT record with the public key is created.