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: false

  • device_only_remembered_on_user_prompt (bool) – If true, a device is only remembered on user prompt. Default: false

See

https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html

Attributes

challenge_required_on_new_device

Indicates whether a challenge is required on a new device.

Only applicable to a new device.

Default

false

See

https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html

Return type

bool

device_only_remembered_on_user_prompt

If true, a device is only remembered on user prompt.

Default

false

See

https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html

Return type

bool