
com.pulumi.awsnative.ssmincidents.kotlin.ReplicationSetArgs.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.ssmincidents.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.ssmincidents.ReplicationSetArgs.builder
import com.pulumi.awsnative.ssmincidents.kotlin.inputs.ReplicationSetReplicationRegionArgs
import com.pulumi.awsnative.ssmincidents.kotlin.inputs.ReplicationSetReplicationRegionArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource type definition for AWS::SSMIncidents::ReplicationSet
* @property deletionProtected Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can't delete the last Region in the replication set.
* @property regions The ReplicationSet configuration.
* @property tags The tags to apply to the replication set.
*/
public data class ReplicationSetArgs(
public val deletionProtected: Output? = null,
public val regions: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmincidents.ReplicationSetArgs =
com.pulumi.awsnative.ssmincidents.ReplicationSetArgs.builder()
.deletionProtected(deletionProtected?.applyValue({ args0 -> args0 }))
.regions(
regions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ReplicationSetArgs].
*/
@PulumiTagMarker
public class ReplicationSetArgsBuilder internal constructor() {
private var deletionProtected: Output? = null
private var regions: Output>? = null
private var tags: Output>? = null
/**
* @param value Determines if the replication set deletion protection is enabled or not. If deletion protection is enabled, you can't delete the last Region in the replication set.
*/
@JvmName("kpfoubymuxfursge")
public suspend fun deletionProtected(`value`: Output) {
this.deletionProtected = value
}
/**
* @param value The ReplicationSet configuration.
*/
@JvmName("hffhhndpyutvrplp")
public suspend fun regions(`value`: Output>) {
this.regions = value
}
@JvmName("qvwuthntohqtuupd")
public suspend fun regions(vararg values: Output) {
this.regions = Output.all(values.asList())
}
/**
* @param values The ReplicationSet configuration.
*/
@JvmName("htmujebucadwvxlr")
public suspend fun regions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy