DeliverToMailboxActionProperty Struct
This action to delivers an email to a mailbox.
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
deliver_to_mailbox_action_property = ses.CfnMailManagerRuleSet.DeliverToMailboxActionProperty(
mailbox_arn="mailboxArn",
role_arn="roleArn",
# the properties below are optional
action_failure_policy="actionFailurePolicy"
)
java
// 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.*;
DeliverToMailboxActionProperty deliverToMailboxActionProperty = DeliverToMailboxActionProperty.builder()
.mailboxArn("mailboxArn")
.roleArn("roleArn")
// the properties below are optional
.actionFailurePolicy("actionFailurePolicy")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var deliverToMailboxActionProperty = new DeliverToMailboxActionProperty {
MailboxArn = "mailboxArn",
RoleArn = "roleArn",
// the properties below are optional
ActionFailurePolicy = "actionFailurePolicy"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
deliverToMailboxActionProperty := &DeliverToMailboxActionProperty{
MailboxArn: jsii.String("mailboxArn"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
ActionFailurePolicy: jsii.String("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.