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

com.pulumi.awsnative.elasticache.kotlin.outputs.GlobalReplicationGroupMember.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.elasticache.kotlin.outputs

import com.pulumi.awsnative.elasticache.kotlin.enums.GlobalReplicationGroupMemberRole
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property replicationGroupId Regionally unique identifier for the member i.e. ReplicationGroupId.
 * @property replicationGroupRegion The AWS region of the Global Datastore member.
 * @property role Indicates the role of the member, primary or secondary.
 */
public data class GlobalReplicationGroupMember(
    public val replicationGroupId: String? = null,
    public val replicationGroupRegion: String? = null,
    public val role: GlobalReplicationGroupMemberRole? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.elasticache.outputs.GlobalReplicationGroupMember): GlobalReplicationGroupMember = GlobalReplicationGroupMember(
            replicationGroupId = javaType.replicationGroupId().map({ args0 -> args0 }).orElse(null),
            replicationGroupRegion = javaType.replicationGroupRegion().map({ args0 -> args0 }).orElse(null),
            role = javaType.role().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.elasticache.kotlin.enums.GlobalReplicationGroupMemberRole.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy