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