ChannelArgs

data class ChannelArgs(val channelId: Output<String>? = null, val description: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ChannelArgs>

Provides an AWS Elemental MediaPackage Channel.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mediapackage.Channel;
import com.pulumi.aws.mediapackage.ChannelArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var kittens = new Channel("kittens", ChannelArgs.builder()
.channelId("kitten-channel")
.description("A channel dedicated to amusing videos of kittens.")
.build());
}
}

Import

Media Package Channels can be imported via the channel ID, e.g.,

$ pulumi import aws:mediapackage/channel:Channel kittens kittens-channel

Constructors

Link copied to clipboard
constructor(channelId: Output<String>? = null, description: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val channelId: Output<String>? = null

A unique identifier describing the channel

Link copied to clipboard
val description: Output<String>? = null

A description of the channel

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): ChannelArgs