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

com.pulumi.aws.backup.kotlin.outputs.PlanRuleCopyActionLifecycle.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.backup.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property coldStorageAfter Specifies the number of days after creation that a recovery point is moved to cold storage.
 * @property deleteAfter Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `cold_storage_after`.
 * @property optInToArchiveForSupportedResources This setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
 */
public data class PlanRuleCopyActionLifecycle(
    public val coldStorageAfter: Int? = null,
    public val deleteAfter: Int? = null,
    public val optInToArchiveForSupportedResources: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.backup.outputs.PlanRuleCopyActionLifecycle): PlanRuleCopyActionLifecycle = PlanRuleCopyActionLifecycle(
            coldStorageAfter = javaType.coldStorageAfter().map({ args0 -> args0 }).orElse(null),
            deleteAfter = javaType.deleteAfter().map({ args0 -> args0 }).orElse(null),
            optInToArchiveForSupportedResources = javaType.optInToArchiveForSupportedResources().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy