@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.259Z") @Stability(value=Stable) public interface CfnIdentityProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpointemail.*;
CfnIdentityProps cfnIdentityProps = CfnIdentityProps.builder()
.name("name")
// the properties below are optional
.dkimSigningEnabled(false)
.feedbackForwardingEnabled(false)
.mailFromAttributes(MailFromAttributesProperty.builder()
.behaviorOnMxFailure("behaviorOnMxFailure")
.mailFromDomain("mailFromDomain")
.build())
.tags(List.of(TagsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentityProps.Builder
A builder for
CfnIdentityProps |
static class |
CfnIdentityProps.Jsii$Proxy
An implementation for
CfnIdentityProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentityProps.Builder |
builder() |
default Object |
getDkimSigningEnabled()
For domain identities, this attribute is used to enable or disable DomainKeys Identified Mail (DKIM) signing for the domain.
|
default Object |
getFeedbackForwardingEnabled()
Used to enable or disable feedback forwarding for an identity.
|
default Object |
getMailFromAttributes()
Used to enable or disable the custom Mail-From domain configuration for an email identity.
|
String |
getName()
The address or domain of the identity, such as *sender@example.com* or *example.co.uk* .
|
default List<CfnIdentity.TagsProperty> |
getTags()
An object that defines the tags (keys and values) that you want to associate with the email identity.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getDkimSigningEnabled()
If the value is true , then the messages that you send from the domain are signed using both the DKIM keys for your domain, as well as the keys for the amazonses.com domain. If the value is false , then the messages that you send are only signed using the DKIM keys for the amazonses.com domain.
@Stability(value=Stable) @Nullable default Object getFeedbackForwardingEnabled()
This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
When you enable feedback forwarding, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.
When you disable feedback forwarding, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).
@Stability(value=Stable) @Nullable default Object getMailFromAttributes()
@Stability(value=Stable) @Nullable default List<CfnIdentity.TagsProperty> getTags()
@Stability(value=Stable) static CfnIdentityProps.Builder builder()
CfnIdentityProps.Builder of CfnIdentityPropsCopyright © 2022. All rights reserved.