com.pulumi.awsnative.mediapackage.kotlin.ChannelArgs.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.mediapackage.kotlin
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.mediapackage.ChannelArgs.builder
import com.pulumi.awsnative.mediapackage.kotlin.inputs.ChannelHlsIngestArgs
import com.pulumi.awsnative.mediapackage.kotlin.inputs.ChannelHlsIngestArgsBuilder
import com.pulumi.awsnative.mediapackage.kotlin.inputs.ChannelLogConfigurationArgs
import com.pulumi.awsnative.mediapackage.kotlin.inputs.ChannelLogConfigurationArgsBuilder
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
/**
* Resource schema for AWS::MediaPackage::Channel
* @property awsId The ID of the Channel.
* @property description A short text description of the Channel.
* @property egressAccessLogs The configuration parameters for egress access logging.
* @property hlsIngest An HTTP Live Streaming (HLS) ingest resource configuration.
* @property ingressAccessLogs The configuration parameters for egress access logging.
* @property tags A collection of tags associated with a resource
*/
public data class ChannelArgs(
public val awsId: Output? = null,
public val description: Output? = null,
public val egressAccessLogs: Output? = null,
public val hlsIngest: Output? = null,
public val ingressAccessLogs: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediapackage.ChannelArgs =
com.pulumi.awsnative.mediapackage.ChannelArgs.builder()
.awsId(awsId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.egressAccessLogs(egressAccessLogs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.hlsIngest(hlsIngest?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ingressAccessLogs(ingressAccessLogs?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ChannelArgs].
*/
@PulumiTagMarker
public class ChannelArgsBuilder internal constructor() {
private var awsId: Output? = null
private var description: Output? = null
private var egressAccessLogs: Output? = null
private var hlsIngest: Output? = null
private var ingressAccessLogs: Output? = null
private var tags: Output>? = null
/**
* @param value The ID of the Channel.
*/
@JvmName("useqsjtiuahpybyg")
public suspend fun awsId(`value`: Output) {
this.awsId = value
}
/**
* @param value A short text description of the Channel.
*/
@JvmName("otmecloausmyhlbr")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The configuration parameters for egress access logging.
*/
@JvmName("ughbrpkslyrjmctw")
public suspend fun egressAccessLogs(`value`: Output) {
this.egressAccessLogs = value
}
/**
* @param value An HTTP Live Streaming (HLS) ingest resource configuration.
*/
@JvmName("cxbfctfrfuhhcnba")
public suspend fun hlsIngest(`value`: Output) {
this.hlsIngest = value
}
/**
* @param value The configuration parameters for egress access logging.
*/
@JvmName("jfbbmngikjxedmud")
public suspend fun ingressAccessLogs(`value`: Output) {
this.ingressAccessLogs = value
}
/**
* @param value A collection of tags associated with a resource
*/
@JvmName("wwphxbajqlvqapmp")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("rqmfjbyhbxjarmev")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A collection of tags associated with a resource
*/
@JvmName("qfqhtdchjylphuyi")
public suspend fun tags(values: List