io.burkard.cdk.services.cognito.CfnUserPoolUser.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cognito
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnUserPoolUser {
def apply(
internalResourceId: String,
userPoolId: String,
validationData: Option[List[_]] = None,
messageAction: Option[String] = None,
username: Option[String] = None,
clientMetadata: Option[AnyRef] = None,
userAttributes: Option[List[_]] = None,
desiredDeliveryMediums: Option[List[String]] = None,
forceAliasCreation: Option[Boolean] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.cognito.CfnUserPoolUser =
software.amazon.awscdk.services.cognito.CfnUserPoolUser.Builder
.create(stackCtx, internalResourceId)
.userPoolId(userPoolId)
.validationData(validationData.map(_.asJava).orNull)
.messageAction(messageAction.orNull)
.username(username.orNull)
.clientMetadata(clientMetadata.orNull)
.userAttributes(userAttributes.map(_.asJava).orNull)
.desiredDeliveryMediums(desiredDeliveryMediums.map(_.asJava).orNull)
.forceAliasCreation(forceAliasCreation.map(Boolean.box).orNull)
.build()
}