

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::Cognito::UserPool CustomEmailSender
<a name="aws-properties-cognito-userpool-customemailsender"></a>

The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.

## Syntax
<a name="aws-properties-cognito-userpool-customemailsender-syntax"></a>

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

### JSON
<a name="aws-properties-cognito-userpool-customemailsender-syntax.json"></a>

```
{
  "[LambdaArn](#cfn-cognito-userpool-customemailsender-lambdaarn)" : String,
  "[LambdaVersion](#cfn-cognito-userpool-customemailsender-lambdaversion)" : String
}
```

### YAML
<a name="aws-properties-cognito-userpool-customemailsender-syntax.yaml"></a>

```
  [LambdaArn](#cfn-cognito-userpool-customemailsender-lambdaarn): String
  [LambdaVersion](#cfn-cognito-userpool-customemailsender-lambdaversion): String
```

## Properties
<a name="aws-properties-cognito-userpool-customemailsender-properties"></a>

`LambdaArn`  <a name="cfn-cognito-userpool-customemailsender-lambdaarn"></a>
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.  
*Required*: No  
*Type*: String  
*Pattern*: `arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?`  
*Minimum*: `20`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`LambdaVersion`  <a name="cfn-cognito-userpool-customemailsender-lambdaversion"></a>
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.  
You must use a `LambdaVersion` of `V1_0` with a custom sender function.  
*Required*: No  
*Type*: String  
*Allowed values*: `V1_0`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)