Skip to content
v2.273.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.
publicKeystringpublic_keystrpublicKeyStringPublicKeystringPublicKey*string= the validation TXT record with t…#
The public key.

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

default

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

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