io.burkard.cdk.services.s3.cfnMultiRegionAccessPoint.RegionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.s3.cfnMultiRegionAccessPoint
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RegionProperty {
def apply(
bucket: String,
accountId: Option[String] = None
): software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.RegionProperty =
(new software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.RegionProperty.Builder)
.bucket(bucket)
.accountId(accountId.orNull)
.build()
}