io.burkard.cdk.services.cognito.CfnUserPoolGroup.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.cognito
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnUserPoolGroup {
def apply(
internalResourceId: String,
userPoolId: String,
description: Option[String] = None,
precedence: Option[Number] = None,
roleArn: Option[String] = None,
groupName: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.cognito.CfnUserPoolGroup =
software.amazon.awscdk.services.cognito.CfnUserPoolGroup.Builder
.create(stackCtx, internalResourceId)
.userPoolId(userPoolId)
.description(description.orNull)
.precedence(precedence.orNull)
.roleArn(roleArn.orNull)
.groupName(groupName.orNull)
.build()
}