com.pulumi.gcp.apigateway.kotlin.inputs.ApiConfigGatewayConfigBackendConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.apigateway.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apigateway.inputs.ApiConfigGatewayConfigBackendConfigArgs.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 googleServiceAccount Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured
* (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend).
*/
public data class ApiConfigGatewayConfigBackendConfigArgs(
public val googleServiceAccount: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apigateway.inputs.ApiConfigGatewayConfigBackendConfigArgs =
com.pulumi.gcp.apigateway.inputs.ApiConfigGatewayConfigBackendConfigArgs.builder()
.googleServiceAccount(googleServiceAccount.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiConfigGatewayConfigBackendConfigArgs].
*/
@PulumiTagMarker
public class ApiConfigGatewayConfigBackendConfigArgsBuilder internal constructor() {
private var googleServiceAccount: Output? = null
/**
* @param value Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured
* (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend).
*/
@JvmName("wvqhrsbqeprdlfgf")
public suspend fun googleServiceAccount(`value`: Output) {
this.googleServiceAccount = value
}
/**
* @param value Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured
* (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend).
*/
@JvmName("vutetjvvpbsvdowf")
public suspend fun googleServiceAccount(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.googleServiceAccount = mapped
}
internal fun build(): ApiConfigGatewayConfigBackendConfigArgs =
ApiConfigGatewayConfigBackendConfigArgs(
googleServiceAccount = googleServiceAccount ?: throw
PulumiNullFieldException("googleServiceAccount"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy