
com.pulumi.awsnative.ecr.kotlin.outputs.ReplicationConfiguration.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.ecr.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* An object representing the replication configuration for a registry.
* @property rules An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules.
*/
public data class ReplicationConfiguration(
public val rules: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecr.outputs.ReplicationConfiguration): ReplicationConfiguration = ReplicationConfiguration(
rules = javaType.rules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecr.kotlin.outputs.ReplicationConfigurationReplicationRule.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy