Class CfnIdentityPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
In Amazon Pinpoint, an identity is an email address or domain that you use when you send email. Before you can use Amazon Pinpoint to send an email from an identity, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the address or domain, and that you've given Amazon Pinpoint permission to send email from that identity.
When you verify an email address, Amazon Pinpoint 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, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon Pinpoint detects these records in the DNS configuration for your domain. It usually takes around 72 hours to complete the domain verification process.
When you use CloudFormation to specify an identity, CloudFormation might indicate that the identity was created successfully. However, you have to verify the identity before you can use it to send email.
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.pinpointemail.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnIdentityPropsMixin cfnIdentityPropsMixin = CfnIdentityPropsMixin.Builder.create(CfnIdentityMixinProps.builder()
.dkimSigningEnabled(false)
.feedbackForwardingEnabled(false)
.mailFromAttributes(MailFromAttributesProperty.builder()
.behaviorOnMxFailure("behaviorOnMxFailure")
.mailFromDomain("mailFromDomain")
.build())
.name("name")
.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 forCfnIdentityPropsMixin.static interfaceA list of attributes that are associated with a MAIL FROM domain.static interfaceAn object that defines the tags (keys and values) that you want to associate with the 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::PinpointEmail::Identity.CfnIdentityPropsMixin(CfnIdentityMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::PinpointEmail::Identity.protectedCfnIdentityPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnIdentityPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnIdentityMixinPropsgetProps()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
-
CfnIdentityPropsMixin
protected CfnIdentityPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIdentityPropsMixin
protected CfnIdentityPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIdentityPropsMixin
@Stability(Stable) public CfnIdentityPropsMixin(@NotNull CfnIdentityMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::PinpointEmail::Identity.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnIdentityPropsMixin
Create a mixin to apply properties toAWS::PinpointEmail::Identity.- 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
-