All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.cognito.cfnUserPool.AdminCreateUserConfigProperty.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 AdminCreateUserConfigProperty {

  def apply(
    allowAdminCreateUserOnly: Option[Boolean] = None,
    inviteMessageTemplate: Option[software.amazon.awscdk.services.cognito.CfnUserPool.InviteMessageTemplateProperty] = None,
    unusedAccountValidityDays: Option[Number] = None
  ): software.amazon.awscdk.services.cognito.CfnUserPool.AdminCreateUserConfigProperty =
    (new software.amazon.awscdk.services.cognito.CfnUserPool.AdminCreateUserConfigProperty.Builder)
      .allowAdminCreateUserOnly(allowAdminCreateUserOnly.map(Boolean.box).orNull)
      .inviteMessageTemplate(inviteMessageTemplate.orNull)
      .unusedAccountValidityDays(unusedAccountValidityDays.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy