io.burkard.cdk.services.opsworks.CfnUserProfile.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.opsworks
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnUserProfile {
def apply(
internalResourceId: String,
iamUserArn: String,
allowSelfManagement: Option[Boolean] = None,
sshPublicKey: Option[String] = None,
sshUsername: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.opsworks.CfnUserProfile =
software.amazon.awscdk.services.opsworks.CfnUserProfile.Builder
.create(stackCtx, internalResourceId)
.iamUserArn(iamUserArn)
.allowSelfManagement(allowSelfManagement.map(Boolean.box).orNull)
.sshPublicKey(sshPublicKey.orNull)
.sshUsername(sshUsername.orNull)
.build()
}