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

com.pulumi.gcp.bigquery.kotlin.inputs.ConnectionAwsAccessRoleArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigquery.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.ConnectionAwsAccessRoleArgs.builder
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 iamRoleId The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
 * @property identity (Output)
 * A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.
 */
public data class ConnectionAwsAccessRoleArgs(
    public val iamRoleId: Output,
    public val identity: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigquery.inputs.ConnectionAwsAccessRoleArgs =
        com.pulumi.gcp.bigquery.inputs.ConnectionAwsAccessRoleArgs.builder()
            .iamRoleId(iamRoleId.applyValue({ args0 -> args0 }))
            .identity(identity?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConnectionAwsAccessRoleArgs].
 */
@PulumiTagMarker
public class ConnectionAwsAccessRoleArgsBuilder internal constructor() {
    private var iamRoleId: Output? = null

    private var identity: Output? = null

    /**
     * @param value The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
     */
    @JvmName("omlftowrwaajlgtn")
    public suspend fun iamRoleId(`value`: Output) {
        this.iamRoleId = value
    }

    /**
     * @param value (Output)
     * A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.
     */
    @JvmName("eqobmllyvksfxfvc")
    public suspend fun identity(`value`: Output) {
        this.identity = value
    }

    /**
     * @param value The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
     */
    @JvmName("dmncdaxwhjrxycdn")
    public suspend fun iamRoleId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.iamRoleId = mapped
    }

    /**
     * @param value (Output)
     * A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.
     */
    @JvmName("yhmrfunowoborljo")
    public suspend fun identity(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identity = mapped
    }

    internal fun build(): ConnectionAwsAccessRoleArgs = ConnectionAwsAccessRoleArgs(
        iamRoleId = iamRoleId ?: throw PulumiNullFieldException("iamRoleId"),
        identity = identity,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy