All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.s3.cfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty.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 PublicAccessBlockConfigurationProperty {

  def apply(
    blockPublicAcls: Option[Boolean] = None,
    blockPublicPolicy: Option[Boolean] = None,
    ignorePublicAcls: Option[Boolean] = None,
    restrictPublicBuckets: Option[Boolean] = None
  ): software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty =
    (new software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty.Builder)
      .blockPublicAcls(blockPublicAcls.map(Boolean.box).orNull)
      .blockPublicPolicy(blockPublicPolicy.map(Boolean.box).orNull)
      .ignorePublicAcls(ignorePublicAcls.map(Boolean.box).orNull)
      .restrictPublicBuckets(restrictPublicBuckets.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy