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

com.pulumi.aws.cloudwatch.kotlin.inputs.EventEndpointEventBusArgs.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.cloudwatch.kotlin.inputs

import com.pulumi.aws.cloudwatch.inputs.EventEndpointEventBusArgs.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 eventBusArn The ARN of the event bus the endpoint is associated with.
 */
public data class EventEndpointEventBusArgs(
    public val eventBusArn: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cloudwatch.inputs.EventEndpointEventBusArgs =
        com.pulumi.aws.cloudwatch.inputs.EventEndpointEventBusArgs.builder()
            .eventBusArn(eventBusArn.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EventEndpointEventBusArgs].
 */
@PulumiTagMarker
public class EventEndpointEventBusArgsBuilder internal constructor() {
    private var eventBusArn: Output? = null

    /**
     * @param value The ARN of the event bus the endpoint is associated with.
     */
    @JvmName("cooaxbnrfocokvcx")
    public suspend fun eventBusArn(`value`: Output) {
        this.eventBusArn = value
    }

    /**
     * @param value The ARN of the event bus the endpoint is associated with.
     */
    @JvmName("yqnaohsmwkkfbnit")
    public suspend fun eventBusArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.eventBusArn = mapped
    }

    internal fun build(): EventEndpointEventBusArgs = EventEndpointEventBusArgs(
        eventBusArn = eventBusArn ?: throw PulumiNullFieldException("eventBusArn"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy