![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.medialive.kotlin.ChannelPlacementGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.medialive.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.medialive.ChannelPlacementGroupArgs.builder
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::MediaLive::ChannelPlacementGroup Resource Type
* @property clusterId The ID of the cluster the node is on.
* @property name The name of the channel placement group.
* @property nodes List of nodes added to the channel placement group
* @property tags A collection of key-value pairs.
*/
public data class ChannelPlacementGroupArgs(
public val clusterId: Output? = null,
public val name: Output? = null,
public val nodes: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.medialive.ChannelPlacementGroupArgs =
com.pulumi.awsnative.medialive.ChannelPlacementGroupArgs.builder()
.clusterId(clusterId?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.nodes(nodes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ChannelPlacementGroupArgs].
*/
@PulumiTagMarker
public class ChannelPlacementGroupArgsBuilder internal constructor() {
private var clusterId: Output? = null
private var name: Output? = null
private var nodes: Output>? = null
private var tags: Output>? = null
/**
* @param value The ID of the cluster the node is on.
*/
@JvmName("mfutxvgedwkdohne")
public suspend fun clusterId(`value`: Output) {
this.clusterId = value
}
/**
* @param value The name of the channel placement group.
*/
@JvmName("kxbvhnemlijkfsal")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value List of nodes added to the channel placement group
*/
@JvmName("otiskdieyioogbyb")
public suspend fun nodes(`value`: Output>) {
this.nodes = value
}
@JvmName("rkckdsifufpqtivb")
public suspend fun nodes(vararg values: Output) {
this.nodes = Output.all(values.asList())
}
/**
* @param values List of nodes added to the channel placement group
*/
@JvmName("xlqpoxernbgphnnc")
public suspend fun nodes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy