interface CustomSMSSenderProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnUserPool.CustomSMSSenderProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPool_CustomSMSSenderProperty |
Java | software.amazon.awscdk.services.cognito.CfnUserPool.CustomSMSSenderProperty |
Python | aws_cdk.aws_cognito.CfnUserPool.CustomSMSSenderProperty |
TypeScript | aws-cdk-lib » aws_cognito » CfnUserPool » CustomSMSSenderProperty |
A custom SMS 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 { aws_cognito as cognito } from 'aws-cdk-lib';
const customSMSSenderProperty: cognito.CfnUserPool.CustomSMSSenderProperty = {
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 SMS notifications to users. |
lambda | string | The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. |
lambdaArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users.
lambdaVersion?
Type:
string
(optional)
The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function.
The only supported value is V1_0
.