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

io.burkard.cdk.services.s3.CfnAccessPoint.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.s3

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAccessPoint {

  def apply(
    internalResourceId: String,
    bucket: String,
    name: Option[String] = None,
    policyStatus: Option[AnyRef] = None,
    vpcConfiguration: Option[software.amazon.awscdk.services.s3.CfnAccessPoint.VpcConfigurationProperty] = None,
    policy: Option[AnyRef] = None,
    publicAccessBlockConfiguration: Option[software.amazon.awscdk.services.s3.CfnAccessPoint.PublicAccessBlockConfigurationProperty] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.s3.CfnAccessPoint =
    software.amazon.awscdk.services.s3.CfnAccessPoint.Builder
      .create(stackCtx, internalResourceId)
      .bucket(bucket)
      .name(name.orNull)
      .policyStatus(policyStatus.orNull)
      .vpcConfiguration(vpcConfiguration.orNull)
      .policy(policy.orNull)
      .publicAccessBlockConfiguration(publicAccessBlockConfiguration.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy