ข้ามไปยังเนื้อหา

Class AmazonSesInvitationDeliveryOptions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.MultiTenancy.Governance.AmazonSesDelivery.Configuration
Assembly: Cephalon.MultiTenancy.Governance.AmazonSesDelivery.dll

Configures Amazon SES v2 delivery for tenant invitations dispatched by the governance companion pack.

public sealed class AmazonSesInvitationDeliveryOptions

objectAmazonSesInvitationDeliveryOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

The Amazon SES sender submits one SES v2 SendEmail simple message request. It does not own AWS account setup, sender identity verification, bounce/complaint callbacks, provider polling, public onboarding, SMS, chat, CRM, or identity-provider invitation flows.

Initializes a new instance of the class.

public AmazonSesInvitationDeliveryOptions()

Gets or sets response status codes that indicate Amazon SES accepted the request.

public IReadOnlyList<int> AcceptedStatusCodes { get; set; }

IReadOnlyList<int>

The default accepts 200 OK, which the AWS SDK reports for a successful SES v2 SendEmail call.

Gets or sets the optional SES configuration set name attached to the request.

public string? ConfigurationSetName { get; set; }

string?

Gets or sets a value indicating whether the Amazon SES invitation sender should be registered.

public bool Enabled { get; set; }

bool

Gets or sets the sender email address used in the SES message.

public string? FromEmail { get; set; }

string?

Gets or sets the optional sender display name used in the SES message.

public string? FromName { get; set; }

string?

Gets or sets the optional HTML Amazon SES message body template.

public string? HtmlBodyTemplate { get; set; }

string?

Gets or sets a value indicating whether safe Cephalon context tags should be added to the SES request.

public bool IncludeContextTags { get; set; }

bool

Gets or sets the metadata key used to resolve the recipient email address when the invitee id is not an email address.

public string RecipientEmailMetadataKey { get; set; }

string

The sender checks dispatch metadata first and invitation metadata second. If neither contains a value and InviteeKind is email, the invitee id is treated as the recipient address.

Gets or sets the optional AWS region system name used when Cephalon creates the default SES v2 client.

public string? RegionSystemName { get; set; }

string?

When omitted, the AWS SDK default region resolution chain remains authoritative. Example values include us-east-1 and eu-west-1.

Gets or sets reply-to addresses attached to the SES message.

public IReadOnlyList<string> ReplyToAddresses { get; set; }

IReadOnlyList<string>

Gets or sets the sender identifier used by TenantInvitationDeliveryRequest.SenderId.

public string SenderId { get; set; }

string

Gets or sets the Amazon SES message subject template.

public string SubjectTemplate { get; set; }

string

Gets or sets delivery channels accepted by this sender.

public IReadOnlyList<string> SupportedChannels { get; set; }

IReadOnlyList<string>

When empty, the sender accepts every requested channel.

Gets or sets Amazon SES message tags attached to the request.

public IReadOnlyDictionary<string, string> Tags { get; set; }

IReadOnlyDictionary<string, string>

These values are sent to Amazon SES and can appear in provider event publishing. Do not put secrets here.

Gets or sets the plain-text Amazon SES message body template.

public string TextBodyTemplate { get; set; }

string

Gets or sets the maximum time allowed for the Amazon SES SDK request.

public int TimeoutSeconds { get; set; }

int

FromConfiguration(IConfiguration, string)

Section titled “ FromConfiguration(IConfiguration, string)”

Binds Amazon SES invitation delivery options from configuration.

public static AmazonSesInvitationDeliveryOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")

configuration IConfiguration

The application configuration root.

sectionPath string

The configuration section path that contains the engine settings. The default is Engine.

AmazonSesInvitationDeliveryOptions

The bound Amazon SES invitation delivery options.