
com.pulumi.aws.s3.inputs.BucketPublicAccessBlockState Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.s3.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class BucketPublicAccessBlockState extends com.pulumi.resources.ResourceArgs {
public static final BucketPublicAccessBlockState Empty = new BucketPublicAccessBlockState();
/**
* Whether Amazon S3 should block public ACLs for this bucket. Defaults to `false`. Enabling this setting does not affect existing policies or ACLs. When set to `true` causes the following behavior:
* * PUT Bucket acl and PUT Object acl calls will fail if the specified ACL allows public access.
* * PUT Object calls will fail if the request includes an object ACL.
*
*/
@Import(name="blockPublicAcls")
private @Nullable Output blockPublicAcls;
/**
* @return Whether Amazon S3 should block public ACLs for this bucket. Defaults to `false`. Enabling this setting does not affect existing policies or ACLs. When set to `true` causes the following behavior:
* * PUT Bucket acl and PUT Object acl calls will fail if the specified ACL allows public access.
* * PUT Object calls will fail if the request includes an object ACL.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy