io.burkard.cdk.services.cognito.CfnUserPoolGroup.scala Maven / Gradle / Ivy
The newest version!
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,
roleArn: Option[String] = None,
groupName: Option[String] = None,
precedence: Option[Number] = 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)
.roleArn(roleArn.orNull)
.groupName(groupName.orNull)
.precedence(precedence.orNull)
.build()
}