com.pulumi.awsnative.mediatailor.kotlin.LiveSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.mediatailor.LiveSourceArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.inputs.LiveSourceHttpPackageConfigurationArgs
import com.pulumi.awsnative.mediatailor.kotlin.inputs.LiveSourceHttpPackageConfigurationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::MediaTailor::LiveSource Resource Type
* @property httpPackageConfigurations A list of HTTP package configuration parameters for this live source.
* @property liveSourceName The name that's used to refer to a live source.
* @property sourceLocationName The name of the source location.
* @property tags The tags to assign to the live source.
*/
public data class LiveSourceArgs(
public val httpPackageConfigurations: Output>? =
null,
public val liveSourceName: Output? = null,
public val sourceLocationName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.LiveSourceArgs =
com.pulumi.awsnative.mediatailor.LiveSourceArgs.builder()
.httpPackageConfigurations(
httpPackageConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.liveSourceName(liveSourceName?.applyValue({ args0 -> args0 }))
.sourceLocationName(sourceLocationName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [LiveSourceArgs].
*/
@PulumiTagMarker
public class LiveSourceArgsBuilder internal constructor() {
private var httpPackageConfigurations: Output>? =
null
private var liveSourceName: Output? = null
private var sourceLocationName: Output? = null
private var tags: Output>? = null
/**
* @param value A list of HTTP package configuration parameters for this live source.
*/
@JvmName("klafvpbeddrpuimn")
public suspend fun httpPackageConfigurations(`value`: Output>) {
this.httpPackageConfigurations = value
}
@JvmName("ythngdvrkknoljus")
public suspend fun httpPackageConfigurations(vararg values: Output) {
this.httpPackageConfigurations = Output.all(values.asList())
}
/**
* @param values A list of HTTP package configuration parameters for this live source.
*/
@JvmName("gpgvgqdjbngisbpr")
public suspend fun httpPackageConfigurations(values: List