com.pulumi.aws.cognito.inputs.UserPoolSoftwareTokenMfaConfigurationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
public final class UserPoolSoftwareTokenMfaConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final UserPoolSoftwareTokenMfaConfigurationArgs Empty = new UserPoolSoftwareTokenMfaConfigurationArgs();
/**
* Boolean whether to enable software token Multi-Factor (MFA) tokens, such as Time-based One-Time Password (TOTP). To disable software token MFA When `sms_configuration` is not present, the `mfa_configuration` argument must be set to `OFF` and the `software_token_mfa_configuration` configuration block must be fully removed.
*
*/
@Import(name="enabled", required=true)
private Output enabled;
/**
* @return Boolean whether to enable software token Multi-Factor (MFA) tokens, such as Time-based One-Time Password (TOTP). To disable software token MFA When `sms_configuration` is not present, the `mfa_configuration` argument must be set to `OFF` and the `software_token_mfa_configuration` configuration block must be fully removed.
*
*/
public Output enabled() {
return this.enabled;
}
private UserPoolSoftwareTokenMfaConfigurationArgs() {}
private UserPoolSoftwareTokenMfaConfigurationArgs(UserPoolSoftwareTokenMfaConfigurationArgs $) {
this.enabled = $.enabled;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserPoolSoftwareTokenMfaConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private UserPoolSoftwareTokenMfaConfigurationArgs $;
public Builder() {
$ = new UserPoolSoftwareTokenMfaConfigurationArgs();
}
public Builder(UserPoolSoftwareTokenMfaConfigurationArgs defaults) {
$ = new UserPoolSoftwareTokenMfaConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param enabled Boolean whether to enable software token Multi-Factor (MFA) tokens, such as Time-based One-Time Password (TOTP). To disable software token MFA When `sms_configuration` is not present, the `mfa_configuration` argument must be set to `OFF` and the `software_token_mfa_configuration` configuration block must be fully removed.
*
* @return builder
*
*/
public Builder enabled(Output enabled) {
$.enabled = enabled;
return this;
}
/**
* @param enabled Boolean whether to enable software token Multi-Factor (MFA) tokens, such as Time-based One-Time Password (TOTP). To disable software token MFA When `sms_configuration` is not present, the `mfa_configuration` argument must be set to `OFF` and the `software_token_mfa_configuration` configuration block must be fully removed.
*
* @return builder
*
*/
public Builder enabled(Boolean enabled) {
return enabled(Output.of(enabled));
}
public UserPoolSoftwareTokenMfaConfigurationArgs build() {
if ($.enabled == null) {
throw new MissingRequiredPropertyException("UserPoolSoftwareTokenMfaConfigurationArgs", "enabled");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy