@Stability(value=Stable)
public static interface CfnUserPool.DeviceConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
DeviceConfigurationProperty deviceConfigurationProperty = DeviceConfigurationProperty.builder()
.challengeRequiredOnNewDevice(false)
.deviceOnlyRememberedOnUserPrompt(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUserPool.DeviceConfigurationProperty.Builder
A builder for
CfnUserPool.DeviceConfigurationProperty |
static class |
CfnUserPool.DeviceConfigurationProperty.Jsii$Proxy
An implementation for
CfnUserPool.DeviceConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnUserPool.DeviceConfigurationProperty.Builder |
builder() |
default Object |
getChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device.
|
default Object |
getDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
|
@Stability(value=Stable) @Nullable default Object getChallengeRequiredOnNewDevice()
Only applicable to a new device.
@Stability(value=Stable) @Nullable default Object getDeviceOnlyRememberedOnUserPrompt()
@Stability(value=Stable) static CfnUserPool.DeviceConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.