Class CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty>
- Enclosing interface:
CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty
@Stability(Stable)
public static final class CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty>
A builder for
CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.getLambdaArn()lambdaVersion(String lambdaVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaArn
@Stability(Stable) public CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.Builder lambdaArn(String lambdaArn) Sets the value ofCfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.getLambdaArn()- Parameters:
lambdaArn- The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger. This parameter and thePreTokenGenerationproperty ofLambdaConfighave the same value. For new instances of pre token generation triggers, setLambdaArn.- Returns:
this
-
lambdaVersion
@Stability(Stable) public CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty.Builder lambdaVersion(String lambdaVersion) - Parameters:
lambdaVersion- 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty>- Returns:
- a new instance of
CfnUserPoolPropsMixin.PreTokenGenerationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-