Skip to content

BucketWormProps

Properties for defining a BucketWorm.

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

Initializer

import { BucketWormProps } from '@alicloud/ros-cdk-oss'
const bucketWormProps: BucketWormProps = { ... }

Properties

Name Type Description
bucket string | @alicloud/ros-cdk-core.IResolvable Property bucket: The name of the bucket.
retentionPeriodInDays number | @alicloud/ros-cdk-core.IResolvable Property retentionPeriodInDays: The specified number of days to retain the Object.

bucketRequired

public readonly bucket: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property bucket: The name of the bucket.


retentionPeriodInDaysRequired

public readonly retentionPeriodInDays: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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