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

com.pulumi.aws.imagebuilder.kotlin.outputs.LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunched.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.imagebuilder.kotlin.outputs

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

/**
 *
 * @property unit Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years. Valid values: `DAYS`, `WEEKS`, `MONTHS` or `YEARS`.
 * @property value The integer number of units for the time period. For example 6 (months).
 */
public data class LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunched(
    public val unit: String,
    public val `value`: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.imagebuilder.outputs.LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunched): LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunched =
            LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunched(
                unit = javaType.unit(),
                `value` = javaType.`value`(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy