@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.581Z") @Stability(value=Stable) public interface DeviceTracking extends software.amazon.jsii.JsiiSerializable
Example:
UserPool.Builder.create(this, "myuserpool")
// ...
.deviceTracking(DeviceTracking.builder()
.challengeRequiredOnNewDevice(true)
.deviceOnlyRememberedOnUserPrompt(true)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DeviceTracking.Builder
A builder for
DeviceTracking |
static class |
DeviceTracking.Jsii$Proxy
An implementation for
DeviceTracking |
| Modifier and Type | Method and Description |
|---|---|
static DeviceTracking.Builder |
builder() |
Boolean |
getChallengeRequiredOnNewDevice()
Indicates whether a challenge is required on a new device.
|
Boolean |
getDeviceOnlyRememberedOnUserPrompt()
If true, a device is only remembered on user prompt.
|
@Stability(value=Stable) @NotNull Boolean getChallengeRequiredOnNewDevice()
Only applicable to a new device.
Default: false
@Stability(value=Stable) @NotNull Boolean getDeviceOnlyRememberedOnUserPrompt()
Default: false
@Stability(value=Stable) static DeviceTracking.Builder builder()
DeviceTracking.Builder of DeviceTrackingCopyright © 2022. All rights reserved.