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

com.pulumi.aws.budgets.kotlin.inputs.BudgetActionDefinitionArgs.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.budgets.kotlin.inputs

import com.pulumi.aws.budgets.inputs.BudgetActionDefinitionArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property iamActionDefinition The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.
 * @property scpActionDefinition The service control policies (SCPs) action definition details. See SCP Action Definition.
 * @property ssmActionDefinition The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.
 */
public data class BudgetActionDefinitionArgs(
    public val iamActionDefinition: Output? = null,
    public val scpActionDefinition: Output? = null,
    public val ssmActionDefinition: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.budgets.inputs.BudgetActionDefinitionArgs =
        com.pulumi.aws.budgets.inputs.BudgetActionDefinitionArgs.builder()
            .iamActionDefinition(
                iamActionDefinition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .scpActionDefinition(
                scpActionDefinition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .ssmActionDefinition(
                ssmActionDefinition?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [BudgetActionDefinitionArgs].
 */
@PulumiTagMarker
public class BudgetActionDefinitionArgsBuilder internal constructor() {
    private var iamActionDefinition: Output? = null

    private var scpActionDefinition: Output? = null

    private var ssmActionDefinition: Output? = null

    /**
     * @param value The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.
     */
    @JvmName("nycdeluruvsqbirw")
    public suspend fun iamActionDefinition(`value`: Output) {
        this.iamActionDefinition = value
    }

    /**
     * @param value The service control policies (SCPs) action definition details. See SCP Action Definition.
     */
    @JvmName("vxovgusntsnvoubb")
    public suspend fun scpActionDefinition(`value`: Output) {
        this.scpActionDefinition = value
    }

    /**
     * @param value The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.
     */
    @JvmName("onalyhlehbpjgywi")
    public suspend fun ssmActionDefinition(`value`: Output) {
        this.ssmActionDefinition = value
    }

    /**
     * @param value The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.
     */
    @JvmName("ayseeywbbtmibcsk")
    public suspend fun iamActionDefinition(`value`: BudgetActionDefinitionIamActionDefinitionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iamActionDefinition = mapped
    }

    /**
     * @param argument The AWS Identity and Access Management (IAM) action definition details. See IAM Action Definition.
     */
    @JvmName("biktaticwqrjsrba")
    public suspend fun iamActionDefinition(argument: suspend BudgetActionDefinitionIamActionDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = BudgetActionDefinitionIamActionDefinitionArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.iamActionDefinition = mapped
    }

    /**
     * @param value The service control policies (SCPs) action definition details. See SCP Action Definition.
     */
    @JvmName("vphhgxmaubmmxwtc")
    public suspend fun scpActionDefinition(`value`: BudgetActionDefinitionScpActionDefinitionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scpActionDefinition = mapped
    }

    /**
     * @param argument The service control policies (SCPs) action definition details. See SCP Action Definition.
     */
    @JvmName("tssyieeafuqsygmd")
    public suspend fun scpActionDefinition(argument: suspend BudgetActionDefinitionScpActionDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = BudgetActionDefinitionScpActionDefinitionArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.scpActionDefinition = mapped
    }

    /**
     * @param value The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.
     */
    @JvmName("pgdqowbteecxptwe")
    public suspend fun ssmActionDefinition(`value`: BudgetActionDefinitionSsmActionDefinitionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ssmActionDefinition = mapped
    }

    /**
     * @param argument The AWS Systems Manager (SSM) action definition details. See SSM Action Definition.
     */
    @JvmName("edhaxmwticbxtwri")
    public suspend fun ssmActionDefinition(argument: suspend BudgetActionDefinitionSsmActionDefinitionArgsBuilder.() -> Unit) {
        val toBeMapped = BudgetActionDefinitionSsmActionDefinitionArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.ssmActionDefinition = mapped
    }

    internal fun build(): BudgetActionDefinitionArgs = BudgetActionDefinitionArgs(
        iamActionDefinition = iamActionDefinition,
        scpActionDefinition = scpActionDefinition,
        ssmActionDefinition = ssmActionDefinition,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy