com.pulumi.aws.s3.kotlin.outputs.BucketLifecycleRuleNoncurrentVersionTransition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.s3.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property days Specifies the number of days noncurrent object versions transition.
* @property storageClass Specifies the Amazon S3 [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Transition.html#AmazonS3-Type-Transition-StorageClass) to which you want the object to transition.
*/
public data class BucketLifecycleRuleNoncurrentVersionTransition(
public val days: Int? = null,
public val storageClass: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.s3.outputs.BucketLifecycleRuleNoncurrentVersionTransition): BucketLifecycleRuleNoncurrentVersionTransition =
BucketLifecycleRuleNoncurrentVersionTransition(
days = javaType.days().map({ args0 -> args0 }).orElse(null),
storageClass = javaType.storageClass(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy