Class PutPublicAccessBlockRequest
Container for the parameters to the PutPublicAccessBlock operation. Creates or modifies the Public Access Block configuration for an Amazon S3 bucket.
public class PutPublicAccessBlockRequest : AmazonWebServiceRequest
- Inheritance
-
PutPublicAccessBlockRequest
Constructors
PutPublicAccessBlockRequest()
public PutPublicAccessBlockRequest()
Properties
BucketName
Gets and sets the property BucketName.
The name of the Amazon S3 bucket whose Public Access Block configuration you want to set.
public string BucketName { get; set; }
Property Value
ContentMD5
Gets and sets the property ContentMD5.
The MD5 hash of the
PutPublicBlock
request body.
public string ContentMD5 { get; set; }
Property Value
ExpectedBucketOwner
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.
public string ExpectedBucketOwner { get; set; }
Property Value
PublicAccessBlockConfiguration
Gets and sets the property PublicAccessBlockConfiguration.
The Public Access Block configuration that you want to apply to this Amazon S3 bucket.
public PublicAccessBlockConfiguration PublicAccessBlockConfiguration { get; set; }