Class CfnMailManagerRuleSet.SendActionProperty
Sends the email to the internet using the ses:SendRawEmail API.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SendActionProperty : Object, CfnMailManagerRuleSet.ISendActionProperty
Syntax (vb)
Public Class SendActionProperty
Inherits Object
Implements CfnMailManagerRuleSet.ISendActionProperty
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 sendActionProperty = new SendActionProperty {
RoleArn = "roleArn",
// the properties below are optional
ActionFailurePolicy = "actionFailurePolicy"
};
Synopsis
Constructors
Send |
Properties
Action |
A policy that states what to do in the case of failure. |
Role |
The Amazon Resource Name (ARN) of the role to use for this action. |
Constructors
SendActionProperty()
public SendActionProperty()
Properties
ActionFailurePolicy
A policy that states what to do in the case of failure.
public string ActionFailurePolicy { get; set; }
Property Value
System.
Remarks
The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API.
RoleArn
The Amazon Resource Name (ARN) of the role to use for this action.
public string RoleArn { get; set; }
Property Value
System.
Remarks
This role must have access to the ses:SendRawEmail API.