Show / Hide Table of Contents

Class CfnMailManagerRuleSet.RelayActionProperty

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

Inheritance
System.Object
CfnMailManagerRuleSet.RelayActionProperty
Implements
CfnMailManagerRuleSet.IRelayActionProperty
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RelayActionProperty : Object, CfnMailManagerRuleSet.IRelayActionProperty
Syntax (vb)
Public Class RelayActionProperty
    Inherits Object
    Implements 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

Constructors

RelayActionProperty()

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.

Constructors

RelayActionProperty()

public RelayActionProperty()

Properties

ActionFailurePolicy

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

public string ActionFailurePolicy { get; set; }
Property Value

System.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.

public string MailFrom { get; set; }
Property Value

System.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.

public string Relay { get; set; }
Property Value

System.String

Remarks

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

Implements

CfnMailManagerRuleSet.IRelayActionProperty
Back to top Generated by DocFX