DeliverToMailboxActionProperty Struct
This action to delivers an email to a mailbox.
Example
ts
// 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
actionFailurePolicyoptionalstringaction_failure_policyoptionalstractionFailurePolicyoptionalStringActionFailurePolicyoptionalstringActionFailurePolicyoptional*string#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.
The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
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.