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

com.pulumi.aws.securitylake.kotlin.inputs.SubscriberSubscriberIdentityArgs.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.securitylake.kotlin.inputs

import com.pulumi.aws.securitylake.inputs.SubscriberSubscriberIdentityArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property externalId The AWS Regions where Security Lake is automatically enabled.
 * @property principal Provides encryption details of Amazon Security Lake object.
 */
public data class SubscriberSubscriberIdentityArgs(
    public val externalId: Output,
    public val principal: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.securitylake.inputs.SubscriberSubscriberIdentityArgs =
        com.pulumi.aws.securitylake.inputs.SubscriberSubscriberIdentityArgs.builder()
            .externalId(externalId.applyValue({ args0 -> args0 }))
            .principal(principal.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SubscriberSubscriberIdentityArgs].
 */
@PulumiTagMarker
public class SubscriberSubscriberIdentityArgsBuilder internal constructor() {
    private var externalId: Output? = null

    private var principal: Output? = null

    /**
     * @param value The AWS Regions where Security Lake is automatically enabled.
     */
    @JvmName("siwssygofiryvqqd")
    public suspend fun externalId(`value`: Output) {
        this.externalId = value
    }

    /**
     * @param value Provides encryption details of Amazon Security Lake object.
     */
    @JvmName("kakpfwolbipthwrr")
    public suspend fun principal(`value`: Output) {
        this.principal = value
    }

    /**
     * @param value The AWS Regions where Security Lake is automatically enabled.
     */
    @JvmName("aeuxhiwitytqukrc")
    public suspend fun externalId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.externalId = mapped
    }

    /**
     * @param value Provides encryption details of Amazon Security Lake object.
     */
    @JvmName("acmbxrcrvjhafpjc")
    public suspend fun principal(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.principal = mapped
    }

    internal fun build(): SubscriberSubscriberIdentityArgs = SubscriberSubscriberIdentityArgs(
        externalId = externalId ?: throw PulumiNullFieldException("externalId"),
        principal = principal ?: throw PulumiNullFieldException("principal"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy