Interface CfnUserPool.PreTokenGenerationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.PreTokenGenerationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.PreTokenGenerationConfigProperty
extends software.amazon.jsii.JsiiSerializable
The properties of a pre token generation Lambda trigger.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; PreTokenGenerationConfigProperty preTokenGenerationConfigProperty = PreTokenGenerationConfigProperty.builder() .lambdaArn("lambdaArn") .lambdaVersion("lambdaVersion") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnUserPool.PreTokenGenerationConfigProperty
static final class
An implementation forCfnUserPool.PreTokenGenerationConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambdaArn
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.This parameter and the
PreTokenGeneration
property ofLambdaConfig
have the same value. For new instances of pre token generation triggers, setLambdaArn
.- See Also:
-
getLambdaVersion
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.
- See Also:
-
builder
-