Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ivs.kotlin
import com.pulumi.awsnative.ivs.ChannelArgs.builder
import com.pulumi.awsnative.ivs.kotlin.enums.ChannelLatencyMode
import com.pulumi.awsnative.ivs.kotlin.enums.ChannelPreset
import com.pulumi.awsnative.ivs.kotlin.enums.ChannelType
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::IVS::Channel
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property authorized Whether the channel is authorized.
* @property insecureIngest Whether the channel allows insecure ingest.
* @property latencyMode Channel latency mode.
* @property name Channel
* @property preset Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
* @property recordingConfigurationArn Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).
* @property tags A list of key-value pairs that contain metadata for the asset model.
* @property type Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.
*/
public data class ChannelArgs(
public val authorized: Output? = null,
public val insecureIngest: Output? = null,
public val latencyMode: Output? = null,
public val name: Output? = null,
public val preset: Output? = null,
public val recordingConfigurationArn: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ivs.ChannelArgs =
com.pulumi.awsnative.ivs.ChannelArgs.builder()
.authorized(authorized?.applyValue({ args0 -> args0 }))
.insecureIngest(insecureIngest?.applyValue({ args0 -> args0 }))
.latencyMode(latencyMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.preset(preset?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.recordingConfigurationArn(recordingConfigurationArn?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ChannelArgs].
*/
@PulumiTagMarker
public class ChannelArgsBuilder internal constructor() {
private var authorized: Output? = null
private var insecureIngest: Output? = null
private var latencyMode: Output? = null
private var name: Output? = null
private var preset: Output? = null
private var recordingConfigurationArn: Output? = null
private var tags: Output>? = null
private var type: Output? = null
/**
* @param value Whether the channel is authorized.
*/
@JvmName("djlhkygfswytseeh")
public suspend fun authorized(`value`: Output) {
this.authorized = value
}
/**
* @param value Whether the channel allows insecure ingest.
*/
@JvmName("dsckpsndvdejxgfu")
public suspend fun insecureIngest(`value`: Output) {
this.insecureIngest = value
}
/**
* @param value Channel latency mode.
*/
@JvmName("cgvhysggtdermpeh")
public suspend fun latencyMode(`value`: Output) {
this.latencyMode = value
}
/**
* @param value Channel
*/
@JvmName("fhmqmcxuhbcipmqd")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
*/
@JvmName("ohksylynmqwcqcqf")
public suspend fun preset(`value`: Output) {
this.preset = value
}
/**
* @param value Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).
*/
@JvmName("obcrkpgcdemlprjf")
public suspend fun recordingConfigurationArn(`value`: Output) {
this.recordingConfigurationArn = value
}
/**
* @param value A list of key-value pairs that contain metadata for the asset model.
*/
@JvmName("oovqkbgorqvlyvyn")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ooskgxkxtvrqrusj")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of key-value pairs that contain metadata for the asset model.
*/
@JvmName("khpphdenxbqusifn")
public suspend fun tags(values: List