BucketWormArgs

data class BucketWormArgs(val bucket: Output<String>? = null, val retentionPeriodInDays: Output<Int>? = null, val status: Output<String>? = null) : ConvertibleToJava<BucketWormArgs>

Import

OSS Bucket Worm can be imported using the id, e.g.

$ pulumi import alicloud:oss/bucketWorm:BucketWorm example <bucket>:<worm_id>

Constructors

Link copied to clipboard
constructor(bucket: Output<String>? = null, retentionPeriodInDays: Output<Int>? = null, status: Output<String>? = null)

Properties

Link copied to clipboard
val bucket: Output<String>? = null

The name of the bucket

Link copied to clipboard
val retentionPeriodInDays: Output<Int>? = null

The specified number of days to retain the Object.

Link copied to clipboard
val status: Output<String>? = null

The status of the compliance retention policy. Optional values:

Functions

Link copied to clipboard
open override fun toJava(): BucketWormArgs