Interface DeviceTracking
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeviceTracking.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-06T01:36:25.575Z")
@Stability(Stable)
public interface DeviceTracking
extends software.amazon.jsii.JsiiSerializable
Device tracking settings.
Example:
UserPool.Builder.create(this, "myuserpool") // ... .deviceTracking(DeviceTracking.builder() .challengeRequiredOnNewDevice(true) .deviceOnlyRememberedOnUserPrompt(true) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forDeviceTracking
static final class
An implementation forDeviceTracking
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceTracking.Builder
builder()
Indicates whether a challenge is required on a new device.If true, a device is only remembered on user prompt.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChallengeRequiredOnNewDevice
Indicates whether a challenge is required on a new device.Only applicable to a new device.
Default: false
- See Also:
-
getDeviceOnlyRememberedOnUserPrompt
If true, a device is only remembered on user prompt.Default: false
- See Also:
-
builder
- Returns:
- a
DeviceTracking.Builder
ofDeviceTracking
-