ChannelArgs

data class ChannelArgs(val authorized: Output<Boolean>? = null, val latencyMode: Output<String>? = null, val name: Output<String>? = null, val recordingConfigurationArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<ChannelArgs>

Resource for managing an AWS IVS (Interactive Video) Channel.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ivs.Channel("example", {name: "channel-1"});
import pulumi
import pulumi_aws as aws
example = aws.ivs.Channel("example", name="channel-1")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ivs.Channel("example", new()
{
Name = "channel-1",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ivs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ivs.NewChannel(ctx, "example", &ivs.ChannelArgs{
Name: pulumi.String("channel-1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ivs.Channel;
import com.pulumi.aws.ivs.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 example = new Channel("example", ChannelArgs.builder()
.name("channel-1")
.build());
}
}
resources:
example:
type: aws:ivs:Channel
properties:
name: channel-1

Import

Using pulumi import, import IVS (Interactive Video) Channel using the ARN. For example:

$ pulumi import aws:ivs/channel:Channel example arn:aws:ivs:us-west-2:326937407773:channel/0Y1lcs4U7jk5

Constructors

Link copied to clipboard
constructor(authorized: Output<Boolean>? = null, latencyMode: Output<String>? = null, name: Output<String>? = null, recordingConfigurationArn: Output<String>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val authorized: Output<Boolean>? = null

If true, channel is private (enabled for playback authorization).

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

Channel latency mode. Valid values: NORMAL, LOW.

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

Channel name.

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

Recording configuration ARN.

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.

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

Channel type, which determines the allowable resolution and bitrate. Valid values: STANDARD, BASIC.

Functions

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