
com.pulumi.awsnative.imagebuilder.kotlin.outputs.LifecyclePolicyIncludeResources.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.imagebuilder.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* The included resources of the policy detail.
* @property amis Use to configure lifecycle actions on AMIs.
* @property containers Use to configure lifecycle actions on containers.
* @property snapshots Use to configure lifecycle actions on snapshots.
*/
public data class LifecyclePolicyIncludeResources(
public val amis: Boolean? = null,
public val containers: Boolean? = null,
public val snapshots: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.outputs.LifecyclePolicyIncludeResources): LifecyclePolicyIncludeResources = LifecyclePolicyIncludeResources(
amis = javaType.amis().map({ args0 -> args0 }).orElse(null),
containers = javaType.containers().map({ args0 -> args0 }).orElse(null),
snapshots = javaType.snapshots().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy