SendActionProperty Struct
Sends the email to the internet using the ses:SendRawEmail API.
| 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 sendActionProperty: ses.CfnMailManagerRuleSet.SendActionProperty = {
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
send_action_property = ses.CfnMailManagerRuleSet.SendActionProperty(
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.*;
SendActionProperty sendActionProperty = SendActionProperty.builder()
.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 sendActionProperty = new SendActionProperty {
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"
sendActionProperty := &SendActionProperty{
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 caller does not have the permissions to call the sendRawEmail API.
The Amazon Resource Name (ARN) of the role to use for this action.
This role must have access to the ses:SendRawEmail API.