interface CustomEmailSenderProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.CfnUserPool.CustomEmailSenderProperty |
![]() | software.amazon.awscdk.services.cognito.CfnUserPool.CustomEmailSenderProperty |
![]() | aws_cdk.aws_cognito.CfnUserPool.CustomEmailSenderProperty |
![]() | @aws-cdk/aws-cognito » CfnUserPool » CustomEmailSenderProperty |
A custom email sender AWS Lambda trigger.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cognito from '@aws-cdk/aws-cognito';
const customEmailSenderProperty: cognito.CfnUserPool.CustomEmailSenderProperty = {
lambdaArn: 'lambdaArn',
lambdaVersion: 'lambdaVersion',
};
Properties
Name | Type | Description |
---|---|---|
lambda | string | The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users. |
lambda | string | The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. |
lambdaArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.
lambdaVersion?
Type:
string
(optional)
The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function.
The only supported value is V1_0
.