Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PutBucketPolicyRequest

Hierarchy

  • PutBucketPolicyRequest

Index

Properties

Bucket

Bucket: string

The name of the bucket.

Optional ConfirmRemoveSelfBucketAccess

ConfirmRemoveSelfBucketAccess: boolean

Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.

Optional ContentMD5

ContentMD5: string

The MD5 hash of the 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.

Policy

Policy: string

The bucket policy as a JSON document.

Generated using TypeDoc