Class CfnEmailIdentityPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ses.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnEmailIdentityPropsMixin cfnEmailIdentityPropsMixin = CfnEmailIdentityPropsMixin.Builder.create(CfnEmailIdentityMixinProps.builder()
.configurationSetAttributes(ConfigurationSetAttributesProperty.builder()
.configurationSetName("configurationSetName")
.build())
.dkimAttributes(DkimAttributesProperty.builder()
.signingEnabled(false)
.build())
.dkimSigningAttributes(DkimSigningAttributesProperty.builder()
.domainSigningPrivateKey("domainSigningPrivateKey")
.domainSigningSelector("domainSigningSelector")
.nextSigningKeyLength("nextSigningKeyLength")
.build())
.emailIdentity("emailIdentity")
.feedbackAttributes(FeedbackAttributesProperty.builder()
.emailForwardingEnabled(false)
.build())
.mailFromAttributes(MailFromAttributesProperty.builder()
.behaviorOnMxFailure("behaviorOnMxFailure")
.mailFromDomain("mailFromDomain")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEmailIdentityPropsMixin.static interfaceUsed to associate a configuration set with an email identity.static interfaceUsed to enable or disable DKIM authentication for an email identity.static interfaceUsed to configure or change the DKIM authentication settings for an email domain identity.static interfaceUsed to enable or disable feedback forwarding for an identity.static interfaceUsed to enable or disable the custom Mail-From domain configuration for an email identity.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SES::EmailIdentity.Create a mixin to apply properties toAWS::SES::EmailIdentity.protectedCfnEmailIdentityPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEmailIdentityPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnEmailIdentityMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnEmailIdentityPropsMixin
protected CfnEmailIdentityPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEmailIdentityPropsMixin
protected CfnEmailIdentityPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEmailIdentityPropsMixin
@Stability(Stable) public CfnEmailIdentityPropsMixin(@NotNull CfnEmailIdentityMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SES::EmailIdentity.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnEmailIdentityPropsMixin
Create a mixin to apply properties toAWS::SES::EmailIdentity.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-