Class: Aws::S3::Types::PutBucketPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutBucketPolicyRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass PutBucketPolicyRequest data as a hash:
{
bucket: "BucketName", # required
content_md5: "ContentMD5",
confirm_remove_self_bucket_access: false,
policy: "Policy", # required
}
Instance Attribute Summary collapse
- #bucket ⇒ String
-
#confirm_remove_self_bucket_access ⇒ Boolean
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
- #content_md5 ⇒ String
-
#policy ⇒ String
The bucket policy as a JSON document.
Instance Attribute Details
#bucket ⇒ String
6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-s3/types.rb', line 6480 class PutBucketPolicyRequest < Struct.new( :bucket, :content_md5, :confirm_remove_self_bucket_access, :policy) include Aws::Structure end |
#confirm_remove_self_bucket_access ⇒ Boolean
Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.
6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-s3/types.rb', line 6480 class PutBucketPolicyRequest < Struct.new( :bucket, :content_md5, :confirm_remove_self_bucket_access, :policy) include Aws::Structure end |
#content_md5 ⇒ String
6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-s3/types.rb', line 6480 class PutBucketPolicyRequest < Struct.new( :bucket, :content_md5, :confirm_remove_self_bucket_access, :policy) include Aws::Structure end |
#policy ⇒ String
The bucket policy as a JSON document.
6480 6481 6482 6483 6484 6485 6486 |
# File 'lib/aws-sdk-s3/types.rb', line 6480 class PutBucketPolicyRequest < Struct.new( :bucket, :content_md5, :confirm_remove_self_bucket_access, :policy) include Aws::Structure end |