
com.pulumi.awsnative.redshiftserverless.kotlin.outputs.NamespaceSnapshotCopyConfiguration.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.redshiftserverless.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property destinationKmsKeyId The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region .
* @property destinationRegion The destination AWS Region to copy snapshots to.
* @property snapshotRetentionPeriod The retention period of snapshots that are copied to the destination AWS Region .
*/
public data class NamespaceSnapshotCopyConfiguration(
public val destinationKmsKeyId: String? = null,
public val destinationRegion: String,
public val snapshotRetentionPeriod: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.redshiftserverless.outputs.NamespaceSnapshotCopyConfiguration): NamespaceSnapshotCopyConfiguration = NamespaceSnapshotCopyConfiguration(
destinationKmsKeyId = javaType.destinationKmsKeyId().map({ args0 -> args0 }).orElse(null),
destinationRegion = javaType.destinationRegion(),
snapshotRetentionPeriod = javaType.snapshotRetentionPeriod().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy