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

com.pulumi.awsnative.apprunner.kotlin.inputs.ObservabilityConfigurationTraceConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.apprunner.kotlin.inputs

import com.pulumi.awsnative.apprunner.inputs.ObservabilityConfigurationTraceConfigurationArgs.builder
import com.pulumi.awsnative.apprunner.kotlin.enums.ObservabilityConfigurationTraceConfigurationVendor
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.Suppress
import kotlin.jvm.JvmName

/**
 * Describes the configuration of the tracing feature within an AWS App Runner observability configuration.
 * @property vendor The implementation provider chosen for tracing App Runner services.
 */
public data class ObservabilityConfigurationTraceConfigurationArgs(
    public val vendor: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.apprunner.inputs.ObservabilityConfigurationTraceConfigurationArgs =
        com.pulumi.awsnative.apprunner.inputs.ObservabilityConfigurationTraceConfigurationArgs.builder()
            .vendor(vendor.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ObservabilityConfigurationTraceConfigurationArgs].
 */
@PulumiTagMarker
public class ObservabilityConfigurationTraceConfigurationArgsBuilder internal constructor() {
    private var vendor: Output? = null

    /**
     * @param value The implementation provider chosen for tracing App Runner services.
     */
    @JvmName("ipasbdmexdbskcve")
    public suspend fun vendor(`value`: Output) {
        this.vendor = value
    }

    /**
     * @param value The implementation provider chosen for tracing App Runner services.
     */
    @JvmName("htugkosriljubpsf")
    public suspend fun vendor(`value`: ObservabilityConfigurationTraceConfigurationVendor) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.vendor = mapped
    }

    internal fun build(): ObservabilityConfigurationTraceConfigurationArgs =
        ObservabilityConfigurationTraceConfigurationArgs(
            vendor = vendor ?: throw PulumiNullFieldException("vendor"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy