
com.pulumi.aws.cognito.outputs.UserPoolLambdaConfigCustomSmsSender Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.cognito.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class UserPoolLambdaConfigCustomSmsSender {
/**
* @return The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send SMS notifications to users.
*
*/
private String lambdaArn;
/**
* @return The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS Lambda function. The only supported value is `V1_0`.
*
*/
private String lambdaVersion;
private UserPoolLambdaConfigCustomSmsSender() {}
/**
* @return The Lambda Amazon Resource Name of the Lambda function that Amazon Cognito triggers to send SMS notifications to users.
*
*/
public String lambdaArn() {
return this.lambdaArn;
}
/**
* @return The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS Lambda function. The only supported value is `V1_0`.
*
*/
public String lambdaVersion() {
return this.lambdaVersion;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserPoolLambdaConfigCustomSmsSender defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String lambdaArn;
private String lambdaVersion;
public Builder() {}
public Builder(UserPoolLambdaConfigCustomSmsSender defaults) {
Objects.requireNonNull(defaults);
this.lambdaArn = defaults.lambdaArn;
this.lambdaVersion = defaults.lambdaVersion;
}
@CustomType.Setter
public Builder lambdaArn(String lambdaArn) {
if (lambdaArn == null) {
throw new MissingRequiredPropertyException("UserPoolLambdaConfigCustomSmsSender", "lambdaArn");
}
this.lambdaArn = lambdaArn;
return this;
}
@CustomType.Setter
public Builder lambdaVersion(String lambdaVersion) {
if (lambdaVersion == null) {
throw new MissingRequiredPropertyException("UserPoolLambdaConfigCustomSmsSender", "lambdaVersion");
}
this.lambdaVersion = lambdaVersion;
return this;
}
public UserPoolLambdaConfigCustomSmsSender build() {
final var _resultValue = new UserPoolLambdaConfigCustomSmsSender();
_resultValue.lambdaArn = lambdaArn;
_resultValue.lambdaVersion = lambdaVersion;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy