Skip to content

DeliverToMailboxAction

Source code in docs_src/capo_mailmanager/types/deliver_to_mailbox_action.py
class DeliverToMailboxAction(TypedDict, closed=True):
    action_failure_policy: NotRequired[
        "capo_mailmanager.types.action_failure_policy.ActionFailurePolicy"
    ]
    """<p>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.</p>"""
    mailbox_arn: "capo_mailmanager.types.name_or_arn.NameOrArn"
    """<p>The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.</p>"""
    role_arn: "capo_mailmanager.types.iam_role_arn.IamRoleArn"
    """<p>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.</p>"""

action_failure_policy instance-attribute

action_failure_policy: NotRequired[ActionFailurePolicy]

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.

mailbox_arn instance-attribute

mailbox_arn: NameOrArn

The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.

role_arn instance-attribute

role_arn: IamRoleArn

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.