Skip to content

BucketWormProps

Properties for defining a BucketWorm.

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

Initializer

import ros_cdk_oss
ros_cdk_oss.BucketWormProps(
  bucket: typing.Union[str, IResolvable],
  retention_period_in_days: typing.Union[typing.Union[int, float], IResolvable]
)

Properties

Name Type Description
bucket typing.Union[str, ros_cdk_core.IResolvable] Property bucket: The name of the bucket.
retention_period_in_days typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property retentionPeriodInDays: The specified number of days to retain the Object.

bucketRequired

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

Property bucket: The name of the bucket.


retention_period_in_daysRequired

retention_period_in_days: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property retentionPeriodInDays: The specified number of days to retain the Object.