@Stability(value=Stable) public static final class CfnUserPool.DeviceConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnUserPool.DeviceConfigurationProperty>
CfnUserPool.DeviceConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUserPool.DeviceConfigurationProperty |
build()
Builds the configured instance.
|
CfnUserPool.DeviceConfigurationProperty.Builder |
challengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
|
CfnUserPool.DeviceConfigurationProperty.Builder |
challengeRequiredOnNewDevice(IResolvable challengeRequiredOnNewDevice)
|
CfnUserPool.DeviceConfigurationProperty.Builder |
deviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
|
CfnUserPool.DeviceConfigurationProperty.Builder |
deviceOnlyRememberedOnUserPrompt(IResolvable deviceOnlyRememberedOnUserPrompt)
|
@Stability(value=Stable) public CfnUserPool.DeviceConfigurationProperty.Builder challengeRequiredOnNewDevice(Boolean challengeRequiredOnNewDevice)
challengeRequiredOnNewDevice - When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDeviceis true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.
this@Stability(value=Stable) public CfnUserPool.DeviceConfigurationProperty.Builder challengeRequiredOnNewDevice(IResolvable challengeRequiredOnNewDevice)
challengeRequiredOnNewDevice - When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not
ChallengeRequiredOnNewDeviceis true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.
this@Stability(value=Stable) public CfnUserPool.DeviceConfigurationProperty.Builder deviceOnlyRememberedOnUserPrompt(Boolean deviceOnlyRememberedOnUserPrompt)
deviceOnlyRememberedOnUserPrompt - When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a [ConfirmDevice](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html) API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an [UpdateDeviceStatus](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html) API request.
When DeviceOnlyRememberedOnUserPrompt is false , Amazon Cognito immediately remembers devices that you register in a ConfirmDevice API request.this@Stability(value=Stable) public CfnUserPool.DeviceConfigurationProperty.Builder deviceOnlyRememberedOnUserPrompt(IResolvable deviceOnlyRememberedOnUserPrompt)
deviceOnlyRememberedOnUserPrompt - When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a [ConfirmDevice](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html) API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an [UpdateDeviceStatus](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html) API request.
When DeviceOnlyRememberedOnUserPrompt is false , Amazon Cognito immediately remembers devices that you register in a ConfirmDevice API request.this@Stability(value=Stable) public CfnUserPool.DeviceConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnUserPool.DeviceConfigurationProperty>CfnUserPool.DeviceConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.