Show / Hide Table of Contents

Class CfnEmailIdentityPropsMixin.MailFromAttributesProperty

Used to enable or disable the custom Mail-From domain configuration for an email identity.

Inheritance
object
CfnEmailIdentityPropsMixin.MailFromAttributesProperty
Implements
CfnEmailIdentityPropsMixin.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.CfnPropertyMixins.AWS.SES
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEmailIdentityPropsMixin.MailFromAttributesProperty : CfnEmailIdentityPropsMixin.IMailFromAttributesProperty
Syntax (vb)
Public Class CfnEmailIdentityPropsMixin.MailFromAttributesProperty Implements CfnEmailIdentityPropsMixin.IMailFromAttributesProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-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.CfnPropertyMixins.AWS.SES;

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

Synopsis

Constructors

MailFromAttributesProperty()

Used to enable or disable the custom Mail-From domain configuration for an email identity.

Properties

BehaviorOnMxFailure

The action to take if the required MX record isn't found when you send an email.

MailFromDomain

The custom MAIL FROM domain that you want the verified identity to use.

Constructors

MailFromAttributesProperty()

Used to enable or disable the custom Mail-From domain configuration for an email identity.

public MailFromAttributesProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-emailidentity-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.CfnPropertyMixins.AWS.SES;

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

Properties

BehaviorOnMxFailure

The action to take if the required MX record isn't found when you send an email.

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

string

Remarks

When you set this value to USE_DEFAULT_VALUE , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to REJECT_MESSAGE , the Amazon SES API v2 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.

Valid Values: USE_DEFAULT_VALUE | REJECT_MESSAGE

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

MailFromDomain

The custom MAIL FROM domain that you want the verified identity to use.

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

string

Remarks

The MAIL FROM domain must meet the following criteria:

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

    Implements

    CfnEmailIdentityPropsMixin.IMailFromAttributesProperty
    Back to top Generated by DocFX