interface CustomEmailSenderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins.CfnUserPoolPropsMixin.CustomEmailSenderProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscognito/mixins#CfnUserPoolPropsMixin_CustomEmailSenderProperty |
Java | software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnUserPoolPropsMixin.CustomEmailSenderProperty |
Python | aws_cdk.mixins_preview.aws_cognito.mixins.CfnUserPoolPropsMixin.CustomEmailSenderProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cognito » mixins » CfnUserPoolPropsMixin » CustomEmailSenderProperty |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cognito_mixins } from '@aws-cdk/mixins-preview/aws-cognito';
const customEmailSenderProperty: cognito_mixins.CfnUserPoolPropsMixin.CustomEmailSenderProperty = {
lambdaArn: 'lambdaArn',
lambdaVersion: 'lambdaVersion',
};
Properties
| Name | Type | Description |
|---|---|---|
| lambda | string | The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger. |
| lambda | string | The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. |
lambdaArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
lambdaVersion?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript