DeviceTracking
- class aws_cdk.aws_cognito.DeviceTracking(*, challenge_required_on_new_device, device_only_remembered_on_user_prompt)
Bases:
object
Device tracking settings.
- Parameters:
challenge_required_on_new_device (
bool
) – Indicates whether a challenge is required on a new device. Only applicable to a new device. Default: falsedevice_only_remembered_on_user_prompt (
bool
) – If true, a device is only remembered on user prompt. Default: false
- See:
- ExampleMetadata:
infused
Example:
cognito.UserPool(self, "myuserpool", # ... device_tracking=cognito.DeviceTracking( challenge_required_on_new_device=True, device_only_remembered_on_user_prompt=True ) )
Attributes
- challenge_required_on_new_device
Indicates whether a challenge is required on a new device.
Only applicable to a new device.
- device_only_remembered_on_user_prompt
If true, a device is only remembered on user prompt.