Class CfnMailManagerRuleSet.SendActionProperty
Sends the email to the internet using the ses:SendRawEmail API.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.SendActionProperty : CfnMailManagerRuleSet.ISendActionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.SendActionProperty 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
SendActionProperty() | Sends the email to the internet using the ses:SendRawEmail API. |
Properties
ActionFailurePolicy | A policy that states what to do in the case of failure. |
RoleArn | The Amazon Resource Name (ARN) of the role to use for this action. |
Constructors
SendActionProperty()
Sends the email to the internet using the ses:SendRawEmail API.
public SendActionProperty()
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"
};
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 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
Remarks
This role must have access to the ses:SendRawEmail API.