Table of Contents

Interface CfnUserPool.ILambdaConfigProperty

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

Specifies the configuration for AWS Lambda triggers.

public interface CfnUserPool.ILambdaConfigProperty

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Cognito;

             var lambdaConfigProperty = new LambdaConfigProperty {
                 CreateAuthChallenge = "createAuthChallenge",
                 CustomEmailSender = new CustomEmailSenderProperty {
                     LambdaArn = "lambdaArn",
                     LambdaVersion = "lambdaVersion"
                 },
                 CustomMessage = "customMessage",
                 CustomSmsSender = new CustomSMSSenderProperty {
                     LambdaArn = "lambdaArn",
                     LambdaVersion = "lambdaVersion"
                 },
                 DefineAuthChallenge = "defineAuthChallenge",
                 KmsKeyId = "kmsKeyId",
                 PostAuthentication = "postAuthentication",
                 PostConfirmation = "postConfirmation",
                 PreAuthentication = "preAuthentication",
                 PreSignUp = "preSignUp",
                 PreTokenGeneration = "preTokenGeneration",
                 UserMigration = "userMigration",
                 VerifyAuthChallengeResponse = "verifyAuthChallengeResponse"
             };

Remarks

Properties

CreateAuthChallenge

Creates an authentication challenge.

string? CreateAuthChallenge { get; }

Property Value

string

Remarks

CustomEmailSender

A custom email sender AWS Lambda trigger.

object? CustomEmailSender { get; }

Property Value

object

Remarks

CustomMessage

A custom Message AWS Lambda trigger.

string? CustomMessage { get; }

Property Value

string

Remarks

CustomSmsSender

A custom SMS sender AWS Lambda trigger.

object? CustomSmsSender { get; }

Property Value

object

Remarks

DefineAuthChallenge

Defines the authentication challenge.

string? DefineAuthChallenge { get; }

Property Value

string

Remarks

KmsKeyId

The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key.

string? KmsKeyId { get; }

Property Value

string

Remarks

Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-kmskeyid

PostAuthentication

A post-authentication AWS Lambda trigger.

string? PostAuthentication { get; }

Property Value

string

Remarks

PostConfirmation

A post-confirmation AWS Lambda trigger.

string? PostConfirmation { get; }

Property Value

string

Remarks

PreAuthentication

A pre-authentication AWS Lambda trigger.

string? PreAuthentication { get; }

Property Value

string

Remarks

PreSignUp

A pre-registration AWS Lambda trigger.

string? PreSignUp { get; }

Property Value

string

Remarks

PreTokenGeneration

A Lambda trigger that is invoked before token generation.

string? PreTokenGeneration { get; }

Property Value

string

Remarks

UserMigration

The user migration Lambda config type.

string? UserMigration { get; }

Property Value

string

Remarks

VerifyAuthChallengeResponse

Verifies the authentication challenge response.

string? VerifyAuthChallengeResponse { get; }

Property Value

string

Remarks