Channel Args
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"});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.ivs.Channel("example", name="channel-1")
Content copied to clipboard
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
resources:
example:
type: aws:ivs:Channel
properties:
name: channel-1
Content copied to clipboard
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
Content copied to clipboard