io.burkard.cdk.services.iam.CfnInstanceProfileProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iam
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnInstanceProfileProps {
def apply(
roles: List[String],
path: Option[String] = None,
instanceProfileName: Option[String] = None
): software.amazon.awscdk.services.iam.CfnInstanceProfileProps =
(new software.amazon.awscdk.services.iam.CfnInstanceProfileProps.Builder)
.roles(roles.asJava)
.path(path.orNull)
.instanceProfileName(instanceProfileName.orNull)
.build()
}