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

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

package com.pulumi.awsnative.securityhub.kotlin

import com.pulumi.awsnative.securityhub.DelegatedAdminArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The AWS::SecurityHub::DelegatedAdmin resource represents the AWS Security Hub delegated admin account in your organization. One delegated admin resource is allowed to create for the organization in each region in which you configure the AdminAccountId.
 * @property adminAccountId The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account
 */
public data class DelegatedAdminArgs(
    public val adminAccountId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.securityhub.DelegatedAdminArgs =
        com.pulumi.awsnative.securityhub.DelegatedAdminArgs.builder()
            .adminAccountId(adminAccountId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DelegatedAdminArgs].
 */
@PulumiTagMarker
public class DelegatedAdminArgsBuilder internal constructor() {
    private var adminAccountId: Output? = null

    /**
     * @param value The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account
     */
    @JvmName("nnxivupdcrhhnanw")
    public suspend fun adminAccountId(`value`: Output) {
        this.adminAccountId = value
    }

    /**
     * @param value The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account
     */
    @JvmName("oqmxmfuoayusxmwf")
    public suspend fun adminAccountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.adminAccountId = mapped
    }

    internal fun build(): DelegatedAdminArgs = DelegatedAdminArgs(
        adminAccountId = adminAccountId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy