versioningConfiguration

@JvmName(name = "gchhtmfdgelafegh")
suspend fun versioningConfiguration(value: Output<BucketVersioningConfigurationArgs>)
@JvmName(name = "uqstgpewjwidlmfo")
suspend fun versioningConfiguration(value: BucketVersioningConfigurationArgs?)

Parameters

value

Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them. When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (`PUT` or `DELETE`) on objects in the bucket.


@JvmName(name = "bhomwmpcowtxsecv")
suspend fun versioningConfiguration(argument: suspend BucketVersioningConfigurationArgsBuilder.() -> Unit)

Parameters

argument

Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them. When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (`PUT` or `DELETE`) on objects in the bucket.