com.pulumi.gcp.container.kotlin.inputs.AwsNodePoolConfigProxyConfigArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AwsNodePoolConfigProxyConfigArgs.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 secretArn The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.
* @property secretVersion The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.
*/
public data class AwsNodePoolConfigProxyConfigArgs(
public val secretArn: Output,
public val secretVersion: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.AwsNodePoolConfigProxyConfigArgs =
com.pulumi.gcp.container.inputs.AwsNodePoolConfigProxyConfigArgs.builder()
.secretArn(secretArn.applyValue({ args0 -> args0 }))
.secretVersion(secretVersion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AwsNodePoolConfigProxyConfigArgs].
*/
@PulumiTagMarker
public class AwsNodePoolConfigProxyConfigArgsBuilder internal constructor() {
private var secretArn: Output? = null
private var secretVersion: Output? = null
/**
* @param value The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.
*/
@JvmName("hksloteghragbjnt")
public suspend fun secretArn(`value`: Output) {
this.secretArn = value
}
/**
* @param value The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.
*/
@JvmName("pifixpqxdjrfmexe")
public suspend fun secretVersion(`value`: Output) {
this.secretVersion = value
}
/**
* @param value The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.
*/
@JvmName("dxyjxbnnscyxqbvy")
public suspend fun secretArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretArn = mapped
}
/**
* @param value The version string of the AWS Secret Manager secret that contains the HTTP(S) proxy configuration.
*/
@JvmName("ehludcmcjndtknoo")
public suspend fun secretVersion(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretVersion = mapped
}
internal fun build(): AwsNodePoolConfigProxyConfigArgs = AwsNodePoolConfigProxyConfigArgs(
secretArn = secretArn ?: throw PulumiNullFieldException("secretArn"),
secretVersion = secretVersion ?: throw PulumiNullFieldException("secretVersion"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy