interface DeliverToMailboxActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SES.CfnMailManagerRuleSet.DeliverToMailboxActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnMailManagerRuleSet_DeliverToMailboxActionProperty |
Java | software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.DeliverToMailboxActionProperty |
Python | aws_cdk.aws_ses.CfnMailManagerRuleSet.DeliverToMailboxActionProperty |
TypeScript | aws-cdk-lib » aws_ses » CfnMailManagerRuleSet » DeliverToMailboxActionProperty |
This action to delivers an email to a mailbox.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const deliverToMailboxActionProperty: ses.CfnMailManagerRuleSet.DeliverToMailboxActionProperty = {
mailboxArn: 'mailboxArn',
roleArn: 'roleArn',
// the properties below are optional
actionFailurePolicy: 'actionFailurePolicy',
};
Properties
| Name | Type | Description |
|---|---|---|
| mailbox | string | The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to. |
| role | string | The Amazon Resource Name (ARN) of an IAM role to use to execute this action. |
| action | string | A policy that states what to do in the case of failure. |
mailboxArn
Type:
string
The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
roleArn
Type:
string
The Amazon Resource Name (ARN) of an IAM role to use to execute this action.
The role must have access to the workmail:DeliverToMailbox API.
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 mailbox ARN is no longer valid.

.NET
Go
Java
Python
TypeScript