Interface CfnMailManagerRuleSet.RelayActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMailManagerRuleSet.RelayActionProperty.Jsii$Proxy
- Enclosing class:
CfnMailManagerRuleSet
@Stability(Stable)
public static interface CfnMailManagerRuleSet.RelayActionProperty
extends software.amazon.jsii.JsiiSerializable
The action relays the email via SMTP to another specific SMTP server.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
RelayActionProperty relayActionProperty = RelayActionProperty.builder()
.relay("relay")
// the properties below are optional
.actionFailurePolicy("actionFailurePolicy")
.mailFrom("mailFrom")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMailManagerRuleSet.RelayActionPropertystatic final classAn implementation forCfnMailManagerRuleSet.RelayActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA policy that states what to do in the case of failure.default StringThis action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.getRelay()The identifier of the relay resource to be used when relaying an email.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRelay
The identifier of the relay resource to be used when relaying an email.- See Also:
-
getActionFailurePolicy
A policy that states what to do in the case of failure.The action will fail if there are configuration errors. For example, the specified relay has been deleted.
- See Also:
-
getMailFrom
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.- See Also:
-
builder
-