Skip to content

BucketPublicAccessBlockProps

Properties for defining a BucketPublicAccessBlock.

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

Initializer

import ros_cdk_oss
ros_cdk_oss.BucketPublicAccessBlockProps(
  block_public_access: typing.Union[bool, IResolvable],
  bucket: typing.Union[str, IResolvable]
)

Properties

Name Type Description
block_public_access typing.Union[bool, ros_cdk_core.IResolvable] Property blockPublicAccess: Whether AlibabaCloud OSS should block public bucket policies and ACL for this bucket.
bucket typing.Union[str, ros_cdk_core.IResolvable] Property bucket: The name of the bucket.

block_public_accessRequired

block_public_access: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

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


bucketRequired

bucket: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property bucket: The name of the bucket.