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:
- Channel
Id string A unique identifier describing the channel
- Description string
A description of the channel
- Dictionary<string, string>
A map of tags to assign to the resource.
- Channel
Id string A unique identifier describing the channel
- Description string
A description of the channel
- map[string]string
A map of tags to assign to the resource.
- channel
Id string A unique identifier describing the channel
- description string
A description of the channel
- {[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
- 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
- Hls
Ingests List<ChannelHls Ingest> 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
- Hls
Ingests []ChannelHls Ingest 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
- hls
Ingests ChannelHls Ingest[] 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[ChannelHls Ingest] 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): Channelstatic 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
- Channel
Id string A unique identifier describing the channel
- Description string
A description of the channel
- Hls
Ingests List<ChannelHls Ingest Args> A single item list of HLS ingest information
- Dictionary<string, string>
A map of tags to assign to the resource.
- Arn string
The ARN of the channel
- Channel
Id string A unique identifier describing the channel
- Description string
A description of the channel
- Hls
Ingests []ChannelHls Ingest A single item list of HLS ingest information
- map[string]string
A map of tags to assign to the resource.
- arn string
The ARN of the channel
- channel
Id string A unique identifier describing the channel
- description string
A description of the channel
- hls
Ingests ChannelHls Ingest[] A single item list of HLS ingest information
- {[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[ChannelHls Ingest] A single item list of HLS ingest information
- 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.
- Ingest
Endpoints List<ChannelHls Ingest Ingest Endpoint Args> A list of the ingest endpoints
- Ingest
Endpoints []ChannelHls Ingest Ingest Endpoint A list of the ingest endpoints
- ingest
Endpoints ChannelHls Ingest Ingest Endpoint[] A list of the ingest endpoints
- ingest
Endpoints List[ChannelHls Ingest Ingest Endpoint] 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.