io.burkard.cdk.services.cognito.cfnUserPool.DeviceConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cognito.cfnUserPool
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DeviceConfigurationProperty {
def apply(
challengeRequiredOnNewDevice: Option[Boolean] = None,
deviceOnlyRememberedOnUserPrompt: Option[Boolean] = None
): software.amazon.awscdk.services.cognito.CfnUserPool.DeviceConfigurationProperty =
(new software.amazon.awscdk.services.cognito.CfnUserPool.DeviceConfigurationProperty.Builder)
.challengeRequiredOnNewDevice(challengeRequiredOnNewDevice.map(Boolean.box).orNull)
.deviceOnlyRememberedOnUserPrompt(deviceOnlyRememberedOnUserPrompt.map(Boolean.box).orNull)
.build()
}