We recommend new projects start with resources from the AWS provider.
aws-native.mediapackagev2.Channel
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.
Create Channel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Channel(name: string, args: ChannelArgs, opts?: CustomResourceOptions);
@overload
def Channel(resource_name: str,
args: ChannelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Channel(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel_group_name: Optional[str] = None,
channel_name: Optional[str] = None,
description: Optional[str] = None,
input_type: Optional[ChannelInputType] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewChannel(ctx *Context, name string, args ChannelArgs, opts ...ResourceOption) (*Channel, error)
public Channel(string name, ChannelArgs args, CustomResourceOptions? opts = null)
public Channel(String name, ChannelArgs args)
public Channel(String name, ChannelArgs args, CustomResourceOptions options)
type: aws-native:mediapackagev2:Channel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Channel resource accepts the following input properties:
- Channel
Group stringName - The name of the channel group associated with the channel configuration.
- Channel
Name string - The name of the channel.
- Description string
- Input
Type Pulumi.Aws Native. Media Package V2. Channel Input Type The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags associated with the channel.
- Channel
Group stringName - The name of the channel group associated with the channel configuration.
- Channel
Name string - The name of the channel.
- Description string
- Input
Type ChannelInput Type The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Tag
Args - The tags associated with the channel.
- channel
Group StringName - The name of the channel group associated with the channel configuration.
- channel
Name String - The name of the channel.
- description String
- input
Type ChannelInput Type The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- List<Tag>
- The tags associated with the channel.
- channel
Group stringName - The name of the channel group associated with the channel configuration.
- channel
Name string - The name of the channel.
- description string
- input
Type ChannelInput Type The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Tag[]
- The tags associated with the channel.
- channel_
group_ strname - The name of the channel group associated with the channel configuration.
- channel_
name str - The name of the channel.
- description str
- input_
type ChannelInput Type The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Sequence[Tag
Args] - The tags associated with the channel.
- channel
Group StringName - The name of the channel group associated with the channel configuration.
- channel
Name String - The name of the channel.
- description String
- input
Type "HLS" | "CMAF" The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- List<Property Map>
- The tags associated with the channel.
Outputs
All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:
- Arn string
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Ingest
Endpoint List<string>Urls - Ingest
Endpoints List<Pulumi.Aws Native. Media Package V2. Outputs. Channel Ingest Endpoint> - Modified
At string
- Arn string
- Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Ingest
Endpoint []stringUrls - Ingest
Endpoints []ChannelIngest Endpoint - Modified
At string
- arn String
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- ingest
Endpoint List<String>Urls - ingest
Endpoints List<ChannelIngest Endpoint> - modified
At String
- arn string
- created
At string - id string
- The provider-assigned unique ID for this managed resource.
- ingest
Endpoint string[]Urls - ingest
Endpoints ChannelIngest Endpoint[] - modified
At string
- arn str
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- ingest_
endpoint_ Sequence[str]urls - ingest_
endpoints Sequence[ChannelIngest Endpoint] - modified_
at str
- arn String
- created
At String - id String
- The provider-assigned unique ID for this managed resource.
- ingest
Endpoint List<String>Urls - ingest
Endpoints List<Property Map> - modified
At String
Supporting Types
ChannelIngestEndpoint, ChannelIngestEndpointArgs
ChannelInputType, ChannelInputTypeArgs
- Hls
- HLS
- Cmaf
- CMAF
- Channel
Input Type Hls - HLS
- Channel
Input Type Cmaf - CMAF
- Hls
- HLS
- Cmaf
- CMAF
- Hls
- HLS
- Cmaf
- CMAF
- HLS
- HLS
- CMAF
- CMAF
- "HLS"
- HLS
- "CMAF"
- CMAF
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.