
com.pulumi.aws.cloudformation.kotlin.inputs.StackSetInstanceOperationPreferencesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.cloudformation.kotlin.inputs
import com.pulumi.aws.cloudformation.inputs.StackSetInstanceOperationPreferencesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property concurrencyMode Specifies how the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.
* @property failureToleranceCount Number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
* @property failureTolerancePercentage Percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
* @property maxConcurrentCount Maximum number of accounts in which to perform this operation at one time.
* @property maxConcurrentPercentage Maximum percentage of accounts in which to perform this operation at one time.
* @property regionConcurrencyType Concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.
* @property regionOrders Order of the Regions in where you want to perform the stack operation.
*/
public data class StackSetInstanceOperationPreferencesArgs(
public val concurrencyMode: Output? = null,
public val failureToleranceCount: Output? = null,
public val failureTolerancePercentage: Output? = null,
public val maxConcurrentCount: Output? = null,
public val maxConcurrentPercentage: Output? = null,
public val regionConcurrencyType: Output? = null,
public val regionOrders: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cloudformation.inputs.StackSetInstanceOperationPreferencesArgs =
com.pulumi.aws.cloudformation.inputs.StackSetInstanceOperationPreferencesArgs.builder()
.concurrencyMode(concurrencyMode?.applyValue({ args0 -> args0 }))
.failureToleranceCount(failureToleranceCount?.applyValue({ args0 -> args0 }))
.failureTolerancePercentage(failureTolerancePercentage?.applyValue({ args0 -> args0 }))
.maxConcurrentCount(maxConcurrentCount?.applyValue({ args0 -> args0 }))
.maxConcurrentPercentage(maxConcurrentPercentage?.applyValue({ args0 -> args0 }))
.regionConcurrencyType(regionConcurrencyType?.applyValue({ args0 -> args0 }))
.regionOrders(regionOrders?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [StackSetInstanceOperationPreferencesArgs].
*/
@PulumiTagMarker
public class StackSetInstanceOperationPreferencesArgsBuilder internal constructor() {
private var concurrencyMode: Output? = null
private var failureToleranceCount: Output? = null
private var failureTolerancePercentage: Output? = null
private var maxConcurrentCount: Output? = null
private var maxConcurrentPercentage: Output? = null
private var regionConcurrencyType: Output? = null
private var regionOrders: Output>? = null
/**
* @param value Specifies how the concurrency level behaves during the operation execution. Valid values are `STRICT_FAILURE_TOLERANCE` and `SOFT_FAILURE_TOLERANCE`.
*/
@JvmName("fkaeqxcostwgrqym")
public suspend fun concurrencyMode(`value`: Output) {
this.concurrencyMode = value
}
/**
* @param value Number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region.
*/
@JvmName("emgomegdlwmjnxac")
public suspend fun failureToleranceCount(`value`: Output) {
this.failureToleranceCount = value
}
/**
* @param value Percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region.
*/
@JvmName("mkvjmeejcaqshuow")
public suspend fun failureTolerancePercentage(`value`: Output) {
this.failureTolerancePercentage = value
}
/**
* @param value Maximum number of accounts in which to perform this operation at one time.
*/
@JvmName("umxklbxfprfmfign")
public suspend fun maxConcurrentCount(`value`: Output) {
this.maxConcurrentCount = value
}
/**
* @param value Maximum percentage of accounts in which to perform this operation at one time.
*/
@JvmName("sesqqtdqyauiooeq")
public suspend fun maxConcurrentPercentage(`value`: Output) {
this.maxConcurrentPercentage = value
}
/**
* @param value Concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. Valid values are `SEQUENTIAL` and `PARALLEL`.
*/
@JvmName("rgknplwpqoucbiwk")
public suspend fun regionConcurrencyType(`value`: Output) {
this.regionConcurrencyType = value
}
/**
* @param value Order of the Regions in where you want to perform the stack operation.
*/
@JvmName("tramlxlcxyvhmtpo")
public suspend fun regionOrders(`value`: Output>) {
this.regionOrders = value
}
@JvmName("qbogndjqsyreeyxe")
public suspend fun regionOrders(vararg values: Output) {
this.regionOrders = Output.all(values.asList())
}
/**
* @param values Order of the Regions in where you want to perform the stack operation.
*/
@JvmName("scpjtcskibbnmtdt")
public suspend fun regionOrders(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy