Class 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.",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.MediaPackage
Assembly: Pulumi.Aws.dll
Syntax
public class Channel : CustomResource
Constructors
View SourceChannel(String, ChannelArgs, CustomResourceOptions)
Create a Channel resource with the given unique name, arguments, and options.
Declaration
public Channel(string name, ChannelArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ChannelArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN of the channel
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ChannelId
A unique identifier describing the channel
Declaration
public Output<string> ChannelId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
A description of the channel
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HlsIngests
A single item list of HLS ingest information
Declaration
public Output<ImmutableArray<ChannelHlsIngest>> HlsIngests { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ChannelHlsIngest>> |
Tags
A map of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, ChannelState, CustomResourceOptions)
Get an existing Channel resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Channel Get(string name, Input<string> id, ChannelState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ChannelState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Channel |