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

com.pulumi.awsnative.certificatemanager.kotlin.AccountArgs.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.certificatemanager.kotlin

import com.pulumi.awsnative.certificatemanager.AccountArgs.builder
import com.pulumi.awsnative.certificatemanager.kotlin.inputs.AccountExpiryEventsConfigurationArgs
import com.pulumi.awsnative.certificatemanager.kotlin.inputs.AccountExpiryEventsConfigurationArgsBuilder
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

/**
 * Resource schema for AWS::CertificateManager::Account.
 * @property expiryEventsConfiguration Object containing expiration events options associated with an AWS account . For more information, see [ExpiryEventsConfiguration](https://docs.aws.amazon.com/acm/latest/APIReference/API_ExpiryEventsConfiguration.html) in the API reference.
 */
public data class AccountArgs(
    public val expiryEventsConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.certificatemanager.AccountArgs =
        com.pulumi.awsnative.certificatemanager.AccountArgs.builder()
            .expiryEventsConfiguration(
                expiryEventsConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AccountArgs].
 */
@PulumiTagMarker
public class AccountArgsBuilder internal constructor() {
    private var expiryEventsConfiguration: Output? = null

    /**
     * @param value Object containing expiration events options associated with an AWS account . For more information, see [ExpiryEventsConfiguration](https://docs.aws.amazon.com/acm/latest/APIReference/API_ExpiryEventsConfiguration.html) in the API reference.
     */
    @JvmName("pvjhrylkgogjdnkd")
    public suspend fun expiryEventsConfiguration(`value`: Output) {
        this.expiryEventsConfiguration = value
    }

    /**
     * @param value Object containing expiration events options associated with an AWS account . For more information, see [ExpiryEventsConfiguration](https://docs.aws.amazon.com/acm/latest/APIReference/API_ExpiryEventsConfiguration.html) in the API reference.
     */
    @JvmName("ptqhkfpwehftmkdt")
    public suspend fun expiryEventsConfiguration(`value`: AccountExpiryEventsConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.expiryEventsConfiguration = mapped
    }

    /**
     * @param argument Object containing expiration events options associated with an AWS account . For more information, see [ExpiryEventsConfiguration](https://docs.aws.amazon.com/acm/latest/APIReference/API_ExpiryEventsConfiguration.html) in the API reference.
     */
    @JvmName("ddruemgeelwmqalu")
    public suspend fun expiryEventsConfiguration(argument: suspend AccountExpiryEventsConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AccountExpiryEventsConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.expiryEventsConfiguration = mapped
    }

    internal fun build(): AccountArgs = AccountArgs(
        expiryEventsConfiguration = expiryEventsConfiguration,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy