class DkimIdentity
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.DkimIdentity |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsses#DkimIdentity |
Java | software.amazon.awscdk.services.ses.DkimIdentity |
Python | aws_cdk.aws_ses.DkimIdentity |
TypeScript (source) | aws-cdk-lib » aws_ses » DkimIdentity |
The identity to use for 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',
}),
});
Initializer
new DkimIdentity()
Methods
Name | Description |
---|---|
bind(emailIdentity, hostedZone?) | Binds this DKIM identity to the email identity. |
static byo | Bring Your Own DKIM. |
static easy | Easy DKIM. |
bind(emailIdentity, hostedZone?)
public bind(emailIdentity: EmailIdentity, hostedZone?: IPublicHostedZone): DkimIdentityConfig
Parameters
- emailIdentity
Email
Identity - hostedZone
IPublic
Hosted Zone
Returns
Binds this DKIM identity to the email identity.
Dkim(options)
static byopublic static byoDkim(options: ByoDkimOptions): DkimIdentity
Parameters
- options
Byo
— Options for BYO DKIM.Dkim Options
Returns
Bring Your Own DKIM.
Dkim(signingKeyLength?)
static easypublic static easyDkim(signingKeyLength?: EasyDkimSigningKeyLength): DkimIdentity
Parameters
- signingKeyLength
Easy
— The length of the signing key.Dkim Signing Key Length
Returns
Easy DKIM.