# SendActionProperty

Sends the email to the internet using the ses:SendRawEmail API.

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## 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',
};
```

## Properties

- `actionFailurePolicy`: 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.

- `roleArn`: string (required) — The Amazon Resource Name (ARN) of the role to use for this action.

  This role must have access to the ses:SendRawEmail API.
