Class CfnUserPool.CustomEmailSenderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPool.CustomEmailSenderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPool.CustomEmailSenderProperty>
- Enclosing interface:
- CfnUserPool.CustomEmailSenderProperty
@Stability(Stable)
public static final class CfnUserPool.CustomEmailSenderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPool.CustomEmailSenderProperty>
A builder for
CfnUserPool.CustomEmailSenderProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaArn()
lambdaVersion
(String lambdaVersion) Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaArn
Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaArn()
- Parameters:
lambdaArn
- The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.- Returns:
this
-
lambdaVersion
@Stability(Stable) public CfnUserPool.CustomEmailSenderProperty.Builder lambdaVersion(String lambdaVersion) Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaVersion()
- Parameters:
lambdaVersion
- 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 isV1_0
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPool.CustomEmailSenderProperty>
- Returns:
- a new instance of
CfnUserPool.CustomEmailSenderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-