AWS::SES::EmailIdentitySpecifies an identity for using within SES. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity. When you verify an email address, SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email. When you verify a domain without specifying the `DkimSigningAttributes` properties, OR only the `NextSigningKeyLength` property of `DkimSigningAttributes` , this resource provides a set of CNAME token names and values ( *DkimDNSTokenName1* , *DkimDNSTokenValue1* , *DkimDNSTokenName2* , *DkimDNSTokenValue2* , *DkimDNSTokenName3* , *DkimDNSTokenValue3* ) as outputs. You can then add these to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. This verification method is known as Easy DKIM. Alternatively, you can perform the verification process by providing your own public-private key pair. This verification method is known as Bring Your Own DKIM (BYODKIM). To use BYODKIM, your resource must include `DkimSigningAttributes` properties `DomainSigningSelector` and `DomainSigningPrivateKey` . When you specify this object, you provide a selector ( `DomainSigningSelector` ) (a component of the DNS record name that identifies the public key to use for DKIM authentication) and a private key ( `DomainSigningPrivateKey` ). Additionally, you can associate an existing configuration set with the email identity that you're verifying.
import { CfnEmailIdentity } from 'aws-cdk-lib/aws-ses';Or use the module namespace:
import * as ses from 'aws-cdk-lib/aws-ses';
// ses.CfnEmailIdentityConfiguration passed to the constructor as CfnEmailIdentityProps.
emailIdentityRequiredstringThe email address or domain to verify.
configurationSetAttributesOptionalIResolvable | ConfigurationSetAttributesPropertyUsed to associate a configuration set with an email identity.
dkimAttributesOptionalIResolvable | DkimAttributesPropertyAn object that contains information about the DKIM attributes for the identity.
dkimSigningAttributesOptionalIResolvable | DkimSigningAttributesPropertyIf your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for [Easy DKIM](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html) . You can only specify this object if the email identity is a domain, as opposed to an address.
feedbackAttributesOptionalIResolvable | FeedbackAttributesPropertyUsed to enable or disable feedback forwarding for an identity.
mailFromAttributesOptionalIResolvable | MailFromAttributesPropertyUsed to enable or disable the custom Mail-From domain configuration for an email identity.
tagsOptionalCfnTag[]An array of objects that define the tags (keys and values) to associate with the email identity.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon SES on one page. HD quality, print-friendly.
Download Free Infographicaws-sesAWS::SES::EmailIdentity