@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:16.750Z") @Stability(value=Experimental) public enum Mfa extends Enum<Mfa>
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html| Enum Constant and Description |
|---|
OFF
(experimental) Users are not required to use MFA for sign in, and cannot configure one.
|
OPTIONAL
(experimental) Users are not required to use MFA for sign in, but can configure one if they so choose to.
|
REQUIRED
(experimental) Users are required to configure an MFA, and have to use it to sign in.
|
| Modifier and Type | Method and Description |
|---|---|
static Mfa |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mfa[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final Mfa OFF
@Stability(value=Experimental) public static final Mfa OPTIONAL
@Stability(value=Experimental) public static final Mfa REQUIRED
public static Mfa[] values()
for (Mfa c : Mfa.values()) System.out.println(c);
public static Mfa valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.