Channel

Provides an AWS Elemental MediaPackage Channel.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var kittens = new Aws.MediaPackage.Channel("kittens", new Aws.MediaPackage.ChannelArgs
        {
            ChannelId = "kitten-channel",
            Description = "A channel dedicated to amusing videos of kittens.",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/mediapackage"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := mediapackage.NewChannel(ctx, "kittens", &mediapackage.ChannelArgs{
            ChannelId:   pulumi.String("kitten-channel"),
            Description: pulumi.String("A channel dedicated to amusing videos of kittens."),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

kittens = aws.mediapackage.Channel("kittens",
    channel_id="kitten-channel",
    description="A channel dedicated to amusing videos of kittens.")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const kittens = new aws.mediapackage.Channel("kittens", {
    channelId: "kitten-channel",
    description: "A channel dedicated to amusing videos of kittens.",
});

Create a Channel Resource

new Channel(name: string, args: ChannelArgs, opts?: CustomResourceOptions);
def Channel(resource_name, opts=None, channel_id=None, description=None, tags=None, __props__=None);
func NewChannel(ctx *Context, name string, args ChannelArgs, opts ...ResourceOption) (*Channel, error)
public Channel(string name, ChannelArgs args, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

Channel Resource Properties

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

Inputs

The Channel resource accepts the following input properties:

ChannelId string

A unique identifier describing the channel

Description string

A description of the channel

Tags Dictionary<string, string>

A map of tags to assign to the resource.

ChannelId string

A unique identifier describing the channel

Description string

A description of the channel

Tags map[string]string

A map of tags to assign to the resource.

channelId string

A unique identifier describing the channel

description string

A description of the channel

tags {[key: string]: string}

A map of tags to assign to the resource.

channel_id str

A unique identifier describing the channel

description str

A description of the channel

tags Dict[str, str]

A map of tags to assign to the resource.

Outputs

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

Arn string

The ARN of the channel

HlsIngests List<ChannelHlsIngest>

A single item list of HLS ingest information

Id string
The provider-assigned unique ID for this managed resource.
Arn string

The ARN of the channel

HlsIngests []ChannelHlsIngest

A single item list of HLS ingest information

Id string
The provider-assigned unique ID for this managed resource.
arn string

The ARN of the channel

hlsIngests ChannelHlsIngest[]

A single item list of HLS ingest information

id string
The provider-assigned unique ID for this managed resource.
arn str

The ARN of the channel

hls_ingests List[ChannelHlsIngest]

A single item list of HLS ingest information

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Channel Resource

Get an existing Channel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ChannelState, opts?: CustomResourceOptions): Channel
static get(resource_name, id, opts=None, arn=None, channel_id=None, description=None, hls_ingests=None, tags=None, __props__=None);
func GetChannel(ctx *Context, name string, id IDInput, state *ChannelState, opts ...ResourceOption) (*Channel, error)
public static Channel Get(string name, Input<string> id, ChannelState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

The ARN of the channel

ChannelId string

A unique identifier describing the channel

Description string

A description of the channel

HlsIngests List<ChannelHlsIngestArgs>

A single item list of HLS ingest information

Tags Dictionary<string, string>

A map of tags to assign to the resource.

Arn string

The ARN of the channel

ChannelId string

A unique identifier describing the channel

Description string

A description of the channel

HlsIngests []ChannelHlsIngest

A single item list of HLS ingest information

Tags map[string]string

A map of tags to assign to the resource.

arn string

The ARN of the channel

channelId string

A unique identifier describing the channel

description string

A description of the channel

hlsIngests ChannelHlsIngest[]

A single item list of HLS ingest information

tags {[key: string]: string}

A map of tags to assign to the resource.

arn str

The ARN of the channel

channel_id str

A unique identifier describing the channel

description str

A description of the channel

hls_ingests List[ChannelHlsIngest]

A single item list of HLS ingest information

tags Dict[str, str]

A map of tags to assign to the resource.

Supporting Types

ChannelHlsIngest

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

IngestEndpoints List<ChannelHlsIngestIngestEndpointArgs>

A list of the ingest endpoints

IngestEndpoints []ChannelHlsIngestIngestEndpoint

A list of the ingest endpoints

ingestEndpoints ChannelHlsIngestIngestEndpoint[]

A list of the ingest endpoints

ingestEndpoints List[ChannelHlsIngestIngestEndpoint]

A list of the ingest endpoints

ChannelHlsIngestIngestEndpoint

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Password string

The password

Url string

The URL

Username string

The username

Password string

The password

Url string

The URL

Username string

The username

password string

The password

url string

The URL

username string

The username

password str

The password

url str

The URL

username str

The username

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.