Class CfnUserPool.DeviceConfigurationProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnUserPool.DeviceConfigurationProperty.Jsii$Proxy extends implements CfnUserPool.DeviceConfigurationProperty
  • Constructor Details

  • Method Details

    • getChallengeRequiredOnNewDevice

      public final Object getChallengeRequiredOnNewDevice()
      Description copied from interface: CfnUserPool.DeviceConfigurationProperty
      When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).

      Whether or not ChallengeRequiredOnNewDevice is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.

      Specified by:
      getChallengeRequiredOnNewDevice in interface CfnUserPool.DeviceConfigurationProperty
    • getDeviceOnlyRememberedOnUserPrompt

      public final Object getDeviceOnlyRememberedOnUserPrompt()
      Description copied from interface: CfnUserPool.DeviceConfigurationProperty
      When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.

      When DeviceOnlyRememberedOnUserPrompt is false , Amazon Cognito immediately remembers devices that you register in a ConfirmDevice API request.

      Specified by:
      getDeviceOnlyRememberedOnUserPrompt in interface CfnUserPool.DeviceConfigurationProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object