Skip to main content

channels

Creates, updates, deletes or gets a channel resource or lists channels in a region

Overview

Namechannels
TypeResource
DescriptionResource Type definition for AWS::IVS::Channel
Idawscc.ivs.channels

Fields

NameDatatypeDescription
arnstringChannel ARN is automatically generated on creation and assigned as the unique identifier.
namestringChannel
authorizedbooleanWhether the channel is authorized.
insecure_ingestbooleanWhether the channel allows insecure ingest.
latency_modestringChannel latency mode.
typestringChannel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.
tagsarrayA list of key-value pairs that contain metadata for the asset model.
playback_urlstringChannel Playback URL.
ingest_endpointstringChannel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
recording_configuration_arnstringRecording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).
presetstringOptional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").
multitrack_input_configurationobject
container_formatstringIndicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.
regionstringAWS region.

For more information, see AWS::IVS::Channel.

Methods

NameResourceAccessible byRequired Params
create_resourcechannelsINSERT, region
delete_resourcechannelsDELETEIdentifier, region
update_resourcechannelsUPDATEIdentifier, PatchDocument, region
list_resourceschannels_list_onlySELECTregion
get_resourcechannelsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual channel.

SELECT
region,
arn,
name,
authorized,
insecure_ingest,
latency_mode,
type,
tags,
playback_url,
ingest_endpoint,
recording_configuration_arn,
preset,
multitrack_input_configuration,
container_format
FROM awscc.ivs.channels
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new channel resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.ivs.channels (
,
region
)
SELECT
'{{ }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a channel resource, using stack-deploy.

/*+ update */
UPDATE awscc.ivs.channels
SET PatchDocument = string('{{ {
"Name": name,
"Authorized": authorized,
"InsecureIngest": insecure_ingest,
"LatencyMode": latency_mode,
"Type": type,
"Tags": tags,
"RecordingConfigurationArn": recording_configuration_arn,
"Preset": preset,
"MultitrackInputConfiguration": multitrack_input_configuration,
"ContainerFormat": container_format
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.ivs.channels
WHERE
Identifier = '{{ arn }}' AND
region = 'us-east-1';

Permissions

To operate on the channels resource, the following permissions are required:

ivs:CreateChannel,
ivs:TagResource