Show / Hide Table of Contents

Class CfnIdentity.MailFromAttributesProperty

A list of attributes that are associated with a MAIL FROM domain.

Inheritance
object
CfnIdentity.MailFromAttributesProperty
Implements
CfnIdentity.IMailFromAttributesProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.PinpointEmail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIdentity.MailFromAttributesProperty : CfnIdentity.IMailFromAttributesProperty
Syntax (vb)
Public Class CfnIdentity.MailFromAttributesProperty Implements CfnIdentity.IMailFromAttributesProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.PinpointEmail;

             var mailFromAttributesProperty = new MailFromAttributesProperty {
                 BehaviorOnMxFailure = "behaviorOnMxFailure",
                 MailFromDomain = "mailFromDomain"
             };

Synopsis

Constructors

MailFromAttributesProperty()

A list of attributes that are associated with a MAIL FROM domain.

Properties

BehaviorOnMxFailure

The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.

MailFromDomain

The name of a domain that an email identity uses as a custom MAIL FROM domain.

Constructors

MailFromAttributesProperty()

A list of attributes that are associated with a MAIL FROM domain.

public MailFromAttributesProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.PinpointEmail;

             var mailFromAttributesProperty = new MailFromAttributesProperty {
                 BehaviorOnMxFailure = "behaviorOnMxFailure",
                 MailFromDomain = "mailFromDomain"
             };

Properties

BehaviorOnMxFailure

The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.

public string? BehaviorOnMxFailure { get; set; }
Property Value

string

Remarks

When you set this value to UseDefaultValue , Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , Amazon Pinpoint returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email.

These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending , Failed , and TemporaryFailure states.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html#cfn-pinpointemail-identity-mailfromattributes-behavioronmxfailure

MailFromDomain

The name of a domain that an email identity uses as a custom MAIL FROM domain.

public string? MailFromDomain { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html#cfn-pinpointemail-identity-mailfromattributes-mailfromdomain

Implements

CfnIdentity.IMailFromAttributesProperty
Back to top Generated by DocFX