Show / Hide Table of Contents

Interface CfnMailManagerRuleSet.IRelayActionProperty

The action relays the email via SMTP to another specific SMTP server.

Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnMailManagerRuleSet.IRelayActionProperty
Syntax (vb)
Public Interface CfnMailManagerRuleSet.IRelayActionProperty
Remarks

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

             var relayActionProperty = new RelayActionProperty {
                 Relay = "relay",

                 // the properties below are optional
                 ActionFailurePolicy = "actionFailurePolicy",
                 MailFrom = "mailFrom"
             };

Synopsis

Properties

ActionFailurePolicy

A policy that states what to do in the case of failure.

MailFrom

This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.

Relay

The identifier of the relay resource to be used when relaying an email.

Properties

ActionFailurePolicy

A policy that states what to do in the case of failure.

string? ActionFailurePolicy { get; }
Property Value

string

Remarks

The action will fail if there are configuration errors. For example, the specified relay has been deleted.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-relayaction.html#cfn-ses-mailmanagerruleset-relayaction-actionfailurepolicy

MailFrom

This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.

string? MailFrom { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-relayaction.html#cfn-ses-mailmanagerruleset-relayaction-mailfrom

Relay

The identifier of the relay resource to be used when relaying an email.

string Relay { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-mailmanagerruleset-relayaction.html#cfn-ses-mailmanagerruleset-relayaction-relay

Back to top Generated by DocFX