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

com.pulumi.aws.cfg.kotlin.inputs.RemediationConfigurationExecutionControlsSsmControlsArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cfg.kotlin.inputs

import com.pulumi.aws.cfg.inputs.RemediationConfigurationExecutionControlsSsmControlsArgs.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.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property concurrentExecutionRatePercentage Maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. The default value is 10%.
 * @property errorPercentage Percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. The default is 50%.
 */
public data class RemediationConfigurationExecutionControlsSsmControlsArgs(
    public val concurrentExecutionRatePercentage: Output? = null,
    public val errorPercentage: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cfg.inputs.RemediationConfigurationExecutionControlsSsmControlsArgs =
        com.pulumi.aws.cfg.inputs.RemediationConfigurationExecutionControlsSsmControlsArgs.builder()
            .concurrentExecutionRatePercentage(
                concurrentExecutionRatePercentage?.applyValue({ args0 ->
                    args0
                }),
            )
            .errorPercentage(errorPercentage?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RemediationConfigurationExecutionControlsSsmControlsArgs].
 */
@PulumiTagMarker
public class RemediationConfigurationExecutionControlsSsmControlsArgsBuilder internal constructor() {
    private var concurrentExecutionRatePercentage: Output? = null

    private var errorPercentage: Output? = null

    /**
     * @param value Maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. The default value is 10%.
     */
    @JvmName("snvcbxswdwflhupd")
    public suspend fun concurrentExecutionRatePercentage(`value`: Output) {
        this.concurrentExecutionRatePercentage = value
    }

    /**
     * @param value Percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. The default is 50%.
     */
    @JvmName("qcstumrfamafkjwe")
    public suspend fun errorPercentage(`value`: Output) {
        this.errorPercentage = value
    }

    /**
     * @param value Maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. The default value is 10%.
     */
    @JvmName("ifygvyrfheybqxkk")
    public suspend fun concurrentExecutionRatePercentage(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.concurrentExecutionRatePercentage = mapped
    }

    /**
     * @param value Percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. The default is 50%.
     */
    @JvmName("apbaugrauqicrpxo")
    public suspend fun errorPercentage(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.errorPercentage = mapped
    }

    internal fun build(): RemediationConfigurationExecutionControlsSsmControlsArgs =
        RemediationConfigurationExecutionControlsSsmControlsArgs(
            concurrentExecutionRatePercentage = concurrentExecutionRatePercentage,
            errorPercentage = errorPercentage,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy