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

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

package com.pulumi.awsnative.pipes.kotlin.inputs

import com.pulumi.awsnative.pipes.inputs.PipeTargetEventBridgeEventBusParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property detailType A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
 * @property endpointId The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is `abcde.veo` .
 * @property resources AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
 * @property source The source of the event.
 * @property time The time stamp of the event, per [RFC3339](https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc3339.txt) . If no time stamp is provided, the time stamp of the [PutEvents](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) call is used.
 */
public data class PipeTargetEventBridgeEventBusParametersArgs(
    public val detailType: Output? = null,
    public val endpointId: Output? = null,
    public val resources: Output>? = null,
    public val source: Output? = null,
    public val time: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeTargetEventBridgeEventBusParametersArgs =
        com.pulumi.awsnative.pipes.inputs.PipeTargetEventBridgeEventBusParametersArgs.builder()
            .detailType(detailType?.applyValue({ args0 -> args0 }))
            .endpointId(endpointId?.applyValue({ args0 -> args0 }))
            .resources(resources?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .source(source?.applyValue({ args0 -> args0 }))
            .time(time?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipeTargetEventBridgeEventBusParametersArgs].
 */
@PulumiTagMarker
public class PipeTargetEventBridgeEventBusParametersArgsBuilder internal constructor() {
    private var detailType: Output? = null

    private var endpointId: Output? = null

    private var resources: Output>? = null

    private var source: Output? = null

    private var time: Output? = null

    /**
     * @param value A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
     */
    @JvmName("foabjlgrslupejxp")
    public suspend fun detailType(`value`: Output) {
        this.detailType = value
    }

    /**
     * @param value The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is `abcde.veo` .
     */
    @JvmName("qeyotdkfdjllyrpd")
    public suspend fun endpointId(`value`: Output) {
        this.endpointId = value
    }

    /**
     * @param value AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
     */
    @JvmName("mrumukopnugsjqdv")
    public suspend fun resources(`value`: Output>) {
        this.resources = value
    }

    @JvmName("farctarylebbxfxx")
    public suspend fun resources(vararg values: Output) {
        this.resources = Output.all(values.asList())
    }

    /**
     * @param values AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
     */
    @JvmName("uvaxqjtvhrlrrxgt")
    public suspend fun resources(values: List>) {
        this.resources = Output.all(values)
    }

    /**
     * @param value The source of the event.
     */
    @JvmName("omdoldweyexrfkew")
    public suspend fun source(`value`: Output) {
        this.source = value
    }

    /**
     * @param value The time stamp of the event, per [RFC3339](https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc3339.txt) . If no time stamp is provided, the time stamp of the [PutEvents](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) call is used.
     */
    @JvmName("refwvmakkxappcgq")
    public suspend fun time(`value`: Output) {
        this.time = value
    }

    /**
     * @param value A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
     */
    @JvmName("hfsarbgpqhfuwkkq")
    public suspend fun detailType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.detailType = mapped
    }

    /**
     * @param value The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is `abcde.veo` .
     */
    @JvmName("amnvrrkunciilqjw")
    public suspend fun endpointId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpointId = mapped
    }

    /**
     * @param value AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
     */
    @JvmName("vfgmohybdxjbxjou")
    public suspend fun resources(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resources = mapped
    }

    /**
     * @param values AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
     */
    @JvmName("gsgctdsnhhqmewmr")
    public suspend fun resources(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.resources = mapped
    }

    /**
     * @param value The source of the event.
     */
    @JvmName("ykkmiiwpwepgrwyn")
    public suspend fun source(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.source = mapped
    }

    /**
     * @param value The time stamp of the event, per [RFC3339](https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc3339.txt) . If no time stamp is provided, the time stamp of the [PutEvents](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) call is used.
     */
    @JvmName("xbifxojmndnadjbn")
    public suspend fun time(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.time = mapped
    }

    internal fun build(): PipeTargetEventBridgeEventBusParametersArgs =
        PipeTargetEventBridgeEventBusParametersArgs(
            detailType = detailType,
            endpointId = endpointId,
            resources = resources,
            source = source,
            time = time,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy