

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::SES::MailManagerRuleSet ReplaceRecipientAction
<a name="aws-properties-ses-mailmanagerruleset-replacerecipientaction"></a>

This action replaces the email envelope recipients with the given list of recipients. If the condition of this action applies only to a subset of recipients, only those recipients are replaced with the recipients specified in the action. The message contents and headers are unaffected by this action, only the envelope recipients are updated.

## Syntax
<a name="aws-properties-ses-mailmanagerruleset-replacerecipientaction-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-ses-mailmanagerruleset-replacerecipientaction-syntax.json"></a>

```
{
  "[ReplaceWith](#cfn-ses-mailmanagerruleset-replacerecipientaction-replacewith)" : [ String, ... ]
}
```

### YAML
<a name="aws-properties-ses-mailmanagerruleset-replacerecipientaction-syntax.yaml"></a>

```
  [ReplaceWith](#cfn-ses-mailmanagerruleset-replacerecipientaction-replacewith): 
    - String
```

## Properties
<a name="aws-properties-ses-mailmanagerruleset-replacerecipientaction-properties"></a>

`ReplaceWith`  <a name="cfn-ses-mailmanagerruleset-replacerecipientaction-replacewith"></a>
This action specifies the replacement recipient email addresses to insert.  
*Required*: No  
*Type*: Array of String  
*Minimum*: `0 | 1`  
*Maximum*: `254 | 100`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)