Channel

Resource Type definition for AWS::IVS::Channel

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var channel = new AwsNative.IVS.Channel("channel", new()
    {
        Name = "MyChannel",
        Tags = new[]
        {
            new AwsNative.IVS.Inputs.ChannelTagArgs
            {
                Key = "MyKey",
                Value = "MyValue",
            },
        },
    });

    var streamKey = new AwsNative.IVS.StreamKey("streamKey", new()
    {
        ChannelArn = channel.Id,
        Tags = new[]
        {
            new AwsNative.IVS.Inputs.StreamKeyTagArgs
            {
                Key = "MyKey",
                Value = "MyValue",
            },
        },
    });

    return new Dictionary<string, object?>
    {
        ["channelArn"] = channel.Id,
        ["channelIngestEndpoint"] = channel.Ingest_endpoint,
        ["channelPlaybackUrl"] = channel.Playback_url,
        ["streamKeyArn"] = streamKey.Id,
    };
});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

channel = aws_native.ivs.Channel("channel",
    name="MyChannel",
    tags=[aws_native.ivs.ChannelTagArgs(
        key="MyKey",
        value="MyValue",
    )])
stream_key = aws_native.ivs.StreamKey("streamKey",
    channel_arn=channel.id,
    tags=[aws_native.ivs.StreamKeyTagArgs(
        key="MyKey",
        value="MyValue",
    )])
pulumi.export("channelArn", channel.id)
pulumi.export("channelIngestEndpoint", channel.ingest_endpoint)
pulumi.export("channelPlaybackUrl", channel.playback_url)
pulumi.export("streamKeyArn", stream_key.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const channel = new aws_native.ivs.Channel("channel", {
    name: "MyChannel",
    tags: [{
        key: "MyKey",
        value: "MyValue",
    }],
});
const streamKey = new aws_native.ivs.StreamKey("streamKey", {
    channelArn: channel.id,
    tags: [{
        key: "MyKey",
        value: "MyValue",
    }],
});
export const channelArn = channel.id;
export const channelIngestEndpoint = channel.ingestEndpoint;
export const channelPlaybackUrl = channel.playbackUrl;
export const streamKeyArn = streamKey.id;

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var channel = new AwsNative.IVS.Channel("channel", new()
    {
        Name = "MyChannel",
        Tags = new[]
        {
            new AwsNative.IVS.Inputs.ChannelTagArgs
            {
                Key = "MyKey",
                Value = "MyValue",
            },
        },
    });

    var streamKey = new AwsNative.IVS.StreamKey("streamKey", new()
    {
        ChannelArn = channel.Id,
        Tags = new[]
        {
            new AwsNative.IVS.Inputs.StreamKeyTagArgs
            {
                Key = "MyKey",
                Value = "MyValue",
            },
        },
    });

    return new Dictionary<string, object?>
    {
        ["channelArn"] = channel.Id,
        ["channelIngestEndpoint"] = channel.Ingest_endpoint,
        ["channelPlaybackUrl"] = channel.Playback_url,
        ["streamKeyArn"] = streamKey.Id,
    };
});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

channel = aws_native.ivs.Channel("channel",
    name="MyChannel",
    tags=[aws_native.ivs.ChannelTagArgs(
        key="MyKey",
        value="MyValue",
    )])
stream_key = aws_native.ivs.StreamKey("streamKey",
    channel_arn=channel.id,
    tags=[aws_native.ivs.StreamKeyTagArgs(
        key="MyKey",
        value="MyValue",
    )])
pulumi.export("channelArn", channel.id)
pulumi.export("channelIngestEndpoint", channel.ingest_endpoint)
pulumi.export("channelPlaybackUrl", channel.playback_url)
pulumi.export("streamKeyArn", stream_key.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const channel = new aws_native.ivs.Channel("channel", {
    name: "MyChannel",
    tags: [{
        key: "MyKey",
        value: "MyValue",
    }],
});
const streamKey = new aws_native.ivs.StreamKey("streamKey", {
    channelArn: channel.id,
    tags: [{
        key: "MyKey",
        value: "MyValue",
    }],
});
export const channelArn = channel.id;
export const channelIngestEndpoint = channel.ingestEndpoint;
export const channelPlaybackUrl = channel.playbackUrl;
export const streamKeyArn = streamKey.id;

Coming soon!

Create Channel Resource

new Channel(name: string, args?: ChannelArgs, opts?: CustomResourceOptions);
@overload
def Channel(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            authorized: Optional[bool] = None,
            latency_mode: Optional[ChannelLatencyMode] = None,
            name: Optional[str] = None,
            recording_configuration_arn: Optional[str] = None,
            tags: Optional[Sequence[ChannelTagArgs]] = None,
            type: Optional[ChannelType] = None)
@overload
def Channel(resource_name: str,
            args: Optional[ChannelArgs] = None,
            opts: Optional[ResourceOptions] = None)
func NewChannel(ctx *Context, name string, args *ChannelArgs, opts ...ResourceOption) (*Channel, error)
public Channel(string name, ChannelArgs? args = null, CustomResourceOptions? opts = null)
public Channel(String name, ChannelArgs args)
public Channel(String name, ChannelArgs args, CustomResourceOptions options)
type: aws-native:ivs:Channel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ChannelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ChannelArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ChannelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ChannelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ChannelArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Channel Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Channel resource accepts the following input properties:

Authorized bool

Whether the channel is authorized.

LatencyMode Pulumi.AwsNative.IVS.ChannelLatencyMode

Channel latency mode.

Name string

Channel

RecordingConfigurationArn string

Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).

Tags List<Pulumi.AwsNative.IVS.Inputs.ChannelTagArgs>

A list of key-value pairs that contain metadata for the asset model.

Type Pulumi.AwsNative.IVS.ChannelType

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

Authorized bool

Whether the channel is authorized.

LatencyMode ChannelLatencyMode

Channel latency mode.

Name string

Channel

RecordingConfigurationArn string

Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).

Tags []ChannelTagArgs

A list of key-value pairs that contain metadata for the asset model.

Type ChannelType

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

authorized Boolean

Whether the channel is authorized.

latencyMode ChannelLatencyMode

Channel latency mode.

name String

Channel

recordingConfigurationArn String

Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).

tags List<ChannelTagArgs>

A list of key-value pairs that contain metadata for the asset model.

type ChannelType

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

authorized boolean

Whether the channel is authorized.

latencyMode ChannelLatencyMode

Channel latency mode.

name string

Channel

recordingConfigurationArn string

Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).

tags ChannelTagArgs[]

A list of key-value pairs that contain metadata for the asset model.

type ChannelType

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

authorized bool

Whether the channel is authorized.

latency_mode ChannelLatencyMode

Channel latency mode.

name str

Channel

recording_configuration_arn str

Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).

tags Sequence[ChannelTagArgs]

A list of key-value pairs that contain metadata for the asset model.

type ChannelType

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

authorized Boolean

Whether the channel is authorized.

latencyMode "NORMAL" | "LOW"

Channel latency mode.

name String

Channel

recordingConfigurationArn String

Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).

tags List<Property Map>

A list of key-value pairs that contain metadata for the asset model.

type "STANDARD" | "BASIC"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

Outputs

All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:

Arn string

Channel ARN is automatically generated on creation and assigned as the unique identifier.

Id string

The provider-assigned unique ID for this managed resource.

IngestEndpoint string

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

PlaybackUrl string

Channel Playback URL.

Arn string

Channel ARN is automatically generated on creation and assigned as the unique identifier.

Id string

The provider-assigned unique ID for this managed resource.

IngestEndpoint string

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

PlaybackUrl string

Channel Playback URL.

arn String

Channel ARN is automatically generated on creation and assigned as the unique identifier.

id String

The provider-assigned unique ID for this managed resource.

ingestEndpoint String

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

playbackUrl String

Channel Playback URL.

arn string

Channel ARN is automatically generated on creation and assigned as the unique identifier.

id string

The provider-assigned unique ID for this managed resource.

ingestEndpoint string

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

playbackUrl string

Channel Playback URL.

arn str

Channel ARN is automatically generated on creation and assigned as the unique identifier.

id str

The provider-assigned unique ID for this managed resource.

ingest_endpoint str

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

playback_url str

Channel Playback URL.

arn String

Channel ARN is automatically generated on creation and assigned as the unique identifier.

id String

The provider-assigned unique ID for this managed resource.

ingestEndpoint String

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

playbackUrl String

Channel Playback URL.

Supporting Types

ChannelLatencyMode

Normal
NORMAL
Low
LOW
ChannelLatencyModeNormal
NORMAL
ChannelLatencyModeLow
LOW
Normal
NORMAL
Low
LOW
Normal
NORMAL
Low
LOW
NORMAL
NORMAL
LOW
LOW
"NORMAL"
NORMAL
"LOW"
LOW

ChannelTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

ChannelType

Standard
STANDARD
Basic
BASIC
ChannelTypeStandard
STANDARD
ChannelTypeBasic
BASIC
Standard
STANDARD
Basic
BASIC
Standard
STANDARD
Basic
BASIC
STANDARD
STANDARD
BASIC
BASIC
"STANDARD"
STANDARD
"BASIC"
BASIC

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0