Skip to content
v2.275.0

ByoDkimOptions Struct ​

Options for BYO DKIM.

Example ​

ts
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 ​

privateKeySecretValueprivate_keySecretValueprivateKeySecretValuePrivateKeySecretValuePrivateKeySecretValuerequired#
The private key that's used to generate a DKIM signature.
publicKeyoptionalstringpublic_keyoptionalstrpublicKeyoptionalStringPublicKeyoptionalstringPublicKeyoptional*string#
The public key.

Default: the validation TXT record with the public key is not created

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

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