interface RelayActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SES.Mixins.CfnMailManagerRuleSetPropsMixin.RelayActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsses/mixins#CfnMailManagerRuleSetPropsMixin_RelayActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerRuleSetPropsMixin.RelayActionProperty |
Python | aws_cdk.mixins_preview.aws_ses.mixins.CfnMailManagerRuleSetPropsMixin.RelayActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ses » mixins » CfnMailManagerRuleSetPropsMixin » RelayActionProperty |
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 { mixins as ses_mixins } from '@aws-cdk/mixins-preview/aws-ses';
const relayActionProperty: ses_mixins.CfnMailManagerRuleSetPropsMixin.RelayActionProperty = {
actionFailurePolicy: 'actionFailurePolicy',
mailFrom: 'mailFrom',
relay: 'relay',
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | A policy that states what to do in the case of failure. |
| mail | string | This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server. |
| relay? | string | The identifier of the relay resource to be used when relaying an email. |
actionFailurePolicy?
Type:
string
(optional)
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.
mailFrom?
Type:
string
(optional)
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.
relay?
Type:
string
(optional)
The identifier of the relay resource to be used when relaying an email.

.NET
Go
Java
Python
TypeScript