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

com.pulumi.aws.ecs.kotlin.inputs.ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs.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.ecs.kotlin.inputs

import com.pulumi.aws.ecs.inputs.ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs.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 name Name of the secret.
 * @property valueFrom Secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
 */
public data class ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs(
    public val name: Output,
    public val valueFrom: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.ecs.inputs.ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs =
        com.pulumi.aws.ecs.inputs.ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .valueFrom(valueFrom.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs].
 */
@PulumiTagMarker
public class ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgsBuilder internal constructor() {
    private var name: Output? = null

    private var valueFrom: Output? = null

    /**
     * @param value Name of the secret.
     */
    @JvmName("hdtrgwuecrifwuju")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
     */
    @JvmName("hjsdshruepenlkuc")
    public suspend fun valueFrom(`value`: Output) {
        this.valueFrom = value
    }

    /**
     * @param value Name of the secret.
     */
    @JvmName("eyprcyakdpnfxcbn")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.
     */
    @JvmName("uewfiwwbvnujgswv")
    public suspend fun valueFrom(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.valueFrom = mapped
    }

    internal fun build(): ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs =
        ServiceServiceConnectConfigurationLogConfigurationSecretOptionArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            valueFrom = valueFrom ?: throw PulumiNullFieldException("valueFrom"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy