Table of Contents

Class EmailSettings

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

Email settings for the user pool.

public class EmailSettings : IEmailSettings
Inheritance
EmailSettings
Implements
Inherited Members

Examples

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

            var emailSettings = new EmailSettings {
                From = "from",
                ReplyTo = "replyTo"
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

EmailSettings()

public EmailSettings()

Properties

From

The 'from' address on the emails received by the user.

public string? From { get; set; }

Property Value

string

Remarks

Default: noreply

Verificationemail: .com

ReplyTo

The 'replyTo' address on the emails received by the user as defined by IETF RFC-5322.

public string? ReplyTo { get; set; }

Property Value

string

Remarks

When set, most email clients recognize to change 'to' line to this address when a reply is drafted.

Default: - Not set.