com.pulumi.aws.s3.BucketPublicAccessBlockArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class BucketPublicAccessBlockArgs extends com.pulumi.resources.ResourceArgs {
public static final BucketPublicAccessBlockArgs Empty = new BucketPublicAccessBlockArgs();
/**
* 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