Module mediapackage

@pulumi/aws > mediapackage

class Channel

extends CustomResource

Provides an AWS Elemental MediaPackage Channel.

Example Usage

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.",
});

constructor

new Channel(name: string, args: ChannelArgs, opts?: pulumi.CustomResourceOptions)

Create a Channel resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ChannelState, opts?: pulumi.CustomResourceOptions): Channel

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the channel

property channelId

public channelId: pulumi.Output<string>;

A unique identifier describing the channel

property description

public description: pulumi.Output<string | undefined>;

A description of the channel

property hlsIngests

public hlsIngests: pulumi.Output<{
    ingestEndpoints: {
        password: string;
        url: string;
        username: string;
    }[];
}[]>;

A single item list of HLS ingest information

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface ChannelArgs

The set of arguments for constructing a Channel resource.

property channelId

channelId: pulumi.Input<string>;

A unique identifier describing the channel

property description

description?: pulumi.Input<string>;

A description of the channel

interface ChannelState

Input properties used for looking up and filtering Channel resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the channel

property channelId

channelId?: pulumi.Input<string>;

A unique identifier describing the channel

property description

description?: pulumi.Input<string>;

A description of the channel

property hlsIngests

hlsIngests?: pulumi.Input<pulumi.Input<{
    ingestEndpoints: pulumi.Input<pulumi.Input<{
        password: pulumi.Input<string>;
        url: pulumi.Input<string>;
        username: pulumi.Input<string>;
    }>[]>;
}>[]>;

A single item list of HLS ingest information