Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PutPublicAccessBlockRequest

Hierarchy

  • PutPublicAccessBlockRequest

Index

Properties

Bucket

Bucket: string

The name of the Amazon S3 bucket whose PublicAccessBlock configuration you want to set.

Optional ContentMD5

ContentMD5: string

The MD5 hash of the PutPublicAccessBlock request body. For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Optional ExpectedBucketOwner

ExpectedBucketOwner: string

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

PublicAccessBlockConfiguration

PublicAccessBlockConfiguration: PublicAccessBlockConfiguration

The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.

Generated using TypeDoc