Class CfnMailManagerRuleSet.RelayActionProperty
The action relays the email via SMTP to another specific SMTP server.
Inheritance
Implements
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
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.
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
Relay
The identifier of the relay resource to be used when relaying an email.
public string Relay { get; set; }
Property Value
System.String