All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.rbin.kotlin.outputs.RuleRetentionPeriod.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.rbin.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property retentionPeriodUnit The unit of time in which the retention period is measured. Currently, only DAYS is supported.
 * @property retentionPeriodValue The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
 */
public data class RuleRetentionPeriod(
    public val retentionPeriodUnit: String,
    public val retentionPeriodValue: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.rbin.outputs.RuleRetentionPeriod): RuleRetentionPeriod = RuleRetentionPeriod(
            retentionPeriodUnit = javaType.retentionPeriodUnit(),
            retentionPeriodValue = javaType.retentionPeriodValue(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy