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

com.pulumi.awsnative.ecr.kotlin.outputs.ReplicationConfigurationReplicationRule.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ecr.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * An array of objects representing the details of a replication destination.
 * @property destinations An array of objects representing the details of a replication destination.
 * @property repositoryFilters An array of objects representing the details of a repository filter.
 */
public data class ReplicationConfigurationReplicationRule(
    public val destinations: List,
    public val repositoryFilters: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ecr.outputs.ReplicationConfigurationReplicationRule): ReplicationConfigurationReplicationRule = ReplicationConfigurationReplicationRule(
            destinations = javaType.destinations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ecr.kotlin.outputs.ReplicationConfigurationReplicationDestination.Companion.toKotlin(args0)
                })
            }),
            repositoryFilters = javaType.repositoryFilters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.ecr.kotlin.outputs.ReplicationConfigurationRepositoryFilter.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy