io.burkard.cdk.services.iam.FromRoleArnOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iam
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FromRoleArnOptions {
def apply(
addGrantsToResources: Option[Boolean] = None,
defaultPolicyName: Option[String] = None,
mutable: Option[Boolean] = None
): software.amazon.awscdk.services.iam.FromRoleArnOptions =
(new software.amazon.awscdk.services.iam.FromRoleArnOptions.Builder)
.addGrantsToResources(addGrantsToResources.map(Boolean.box).orNull)
.defaultPolicyName(defaultPolicyName.orNull)
.mutable(mutable.map(Boolean.box).orNull)
.build()
}