Class CfnMailManagerRuleSet.DeliverToMailboxActionProperty
This action to delivers an email to a mailbox.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.DeliverToMailboxActionProperty : CfnMailManagerRuleSet.IDeliverToMailboxActionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.DeliverToMailboxActionProperty Implements CfnMailManagerRuleSet.IDeliverToMailboxActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
DeliverToMailboxActionProperty() | This action to delivers an email to a mailbox. |
Properties
ActionFailurePolicy | A policy that states what to do in the case of failure. |
MailboxArn | The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to. |
RoleArn | The Amazon Resource Name (ARN) of an IAM role to use to execute this action. |
Constructors
DeliverToMailboxActionProperty()
This action to delivers an email to a mailbox.
public DeliverToMailboxActionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Properties
ActionFailurePolicy
A policy that states what to do in the case of failure.
public string? ActionFailurePolicy { get; set; }
Property Value
Remarks
The action will fail if there are configuration errors. For example, the mailbox ARN is no longer valid.
MailboxArn
The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
public string MailboxArn { get; set; }
Property Value
Remarks
RoleArn
The Amazon Resource Name (ARN) of an IAM role to use to execute this action.
public string RoleArn { get; set; }
Property Value
Remarks
The role must have access to the workmail:DeliverToMailbox API.