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

com.pulumi.awsnative.elasticache.kotlin.outputs.GlobalReplicationGroupRegionalConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.elasticache.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property replicationGroupId The replication group id of the Global Datastore member.
 * @property replicationGroupRegion The AWS region of the Global Datastore member.
 * @property reshardingConfigurations A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster.
 */
public data class GlobalReplicationGroupRegionalConfiguration(
    public val replicationGroupId: String? = null,
    public val replicationGroupRegion: String? = null,
    public val reshardingConfigurations: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.elasticache.outputs.GlobalReplicationGroupRegionalConfiguration): GlobalReplicationGroupRegionalConfiguration = GlobalReplicationGroupRegionalConfiguration(
            replicationGroupId = javaType.replicationGroupId().map({ args0 -> args0 }).orElse(null),
            replicationGroupRegion = javaType.replicationGroupRegion().map({ args0 -> args0 }).orElse(null),
            reshardingConfigurations = javaType.reshardingConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.elasticache.kotlin.outputs.GlobalReplicationGroupReshardingConfiguration.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy