Skip to content

BucketPublicAccessBlockProps

Properties for defining a BucketPublicAccessBlock.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oss-bucketpublicaccessblock

Initializer

using AlibabaCloud.SDK.ROS.CDK.Oss;
new BucketPublicAccessBlockProps {
    object BlockPublicAccess,
    object Bucket
};

Properties

Name Type Description
BlockPublicAccess object Property blockPublicAccess: Whether AlibabaCloud OSS should block public bucket policies and ACL for this bucket.
Bucket object Property bucket: The name of the bucket.

BlockPublicAccessRequired

public object BlockPublicAccess { get; set; }
  • Type: object

Property blockPublicAccess: Whether AlibabaCloud OSS should block public bucket policies and ACL for this bucket.


BucketRequired

public object Bucket { get; set; }
  • Type: object

Property bucket: The name of the bucket.