io.burkard.cdk.services.sso.CfnAssignment.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sso
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAssignment {
def apply(
internalResourceId: String,
principalId: String,
targetId: String,
permissionSetArn: String,
targetType: String,
instanceArn: String,
principalType: String
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.sso.CfnAssignment =
software.amazon.awscdk.services.sso.CfnAssignment.Builder
.create(stackCtx, internalResourceId)
.principalId(principalId)
.targetId(targetId)
.permissionSetArn(permissionSetArn)
.targetType(targetType)
.instanceArn(instanceArn)
.principalType(principalType)
.build()
}