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

com.pulumi.gcp.container.kotlin.inputs.AwsClusterControlPlaneProxyConfigArgs.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.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneProxyConfigArgs.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 AwsClusterControlPlaneProxyConfigArgs(
    public val secretArn: Output,
    public val secretVersion: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AwsClusterControlPlaneProxyConfigArgs =
        com.pulumi.gcp.container.inputs.AwsClusterControlPlaneProxyConfigArgs.builder()
            .secretArn(secretArn.applyValue({ args0 -> args0 }))
            .secretVersion(secretVersion.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AwsClusterControlPlaneProxyConfigArgs].
 */
@PulumiTagMarker
public class AwsClusterControlPlaneProxyConfigArgsBuilder 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("wiunphhvlgjeevfd")
    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("smekwtunqpgahlhk")
    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("jhsflprojfcukvxo")
    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("sqoibhgkfpixcttr")
    public suspend fun secretVersion(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.secretVersion = mapped
    }

    internal fun build(): AwsClusterControlPlaneProxyConfigArgs =
        AwsClusterControlPlaneProxyConfigArgs(
            secretArn = secretArn ?: throw PulumiNullFieldException("secretArn"),
            secretVersion = secretVersion ?: throw PulumiNullFieldException("secretVersion"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy