Provides an AWS Elemental MediaPackage Channel.
resource "aws_media_package_channel" "kittens" {
channel_id = "kitten-channel"
description = "A channel dedicated to amusing videos of kittens."
}
This resource supports the following arguments:
channel_id
- (Required) A unique identifier describing the channeldescription
- (Optional) A description of the channeltags
- (Optional) A map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.This resource exports the following attributes in addition to the arguments above:
id
- The same as channel_id
arn
- The ARN of the channelhls_ingest
- A single item list of HLS ingest information
ingest_endpoints
- A list of the ingest endpoints
password
- The passwordurl
- The URLusername
- The usernametags_all
- A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.In Terraform v1.5.0 and later, use an import
block to import Media Package Channels using the channel ID. For example:
import {
to = aws_media_package_channel.kittens
id = "kittens-channel"
}
Using terraform import
, import Media Package Channels using the channel ID. For example:
% terraform import aws_media_package_channel.kittens kittens-channel