signaling_channels
Creates, updates, deletes or gets a signaling_channel resource or lists signaling_channels in a region
Overview
| Name | signaling_channels |
| Type | Resource |
| Description | Resource Type Definition for AWS::KinesisVideo::SignalingChannel |
| Id | awscc.kinesisvideo.signaling_channels |
Fields
- get (all properties)
- list (identifiers only)
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) of the Kinesis Video Signaling Channel. |
name | string | The name of the Kinesis Video Signaling Channel. |
type | string | The type of the Kinesis Video Signaling Channel to create. Currently, SINGLE_MASTER is the only supported channel type. |
message_ttl_seconds | integer | The period of time a signaling channel retains undelivered messages before they are discarded. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the Kinesis Video Signaling Channel. |
region | string | AWS region. |
For more information, see AWS::KinesisVideo::SignalingChannel.
Methods
| Name | Resource | Accessible by | Required Params |
|---|---|---|---|
create_resource | signaling_channels | INSERT | , region |
delete_resource | signaling_channels | DELETE | Identifier, region |
update_resource | signaling_channels | UPDATE | Identifier, PatchDocument, region |
list_resources | signaling_channels_list_only | SELECT | region |
get_resource | signaling_channels | SELECT | Identifier, region |
SELECT examples
- get (all properties)
- list (identifiers only)
Gets all properties from an individual signaling_channel.
SELECT
region,
arn,
name,
type,
message_ttl_seconds,
tags
FROM awscc.kinesisvideo.signaling_channels
WHERE
region = 'us-east-1' AND
Identifier = '{{ name }}';
Lists all signaling_channels in a region.
SELECT
region,
name
FROM awscc.kinesisvideo.signaling_channels_list_only
WHERE
region = 'us-east-1';
INSERT example
Use the following StackQL query and manifest file to create a new signaling_channel resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.kinesisvideo.signaling_channels (
,
region
)
SELECT
'{{ }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.kinesisvideo.signaling_channels (
Name,
Type,
MessageTtlSeconds,
Tags,
region
)
SELECT
'{{ name }}',
'{{ type }}',
'{{ message_ttl_seconds }}',
'{{ tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: signaling_channel
props:
- name: name
value: '{{ name }}'
- name: type
value: '{{ type }}'
- name: message_ttl_seconds
value: '{{ message_ttl_seconds }}'
- name: tags
value:
- key: '{{ key }}'
value: '{{ value }}'
UPDATE example
Use the following StackQL query and manifest file to update a signaling_channel resource, using stack-deploy.
/*+ update */
UPDATE awscc.kinesisvideo.signaling_channels
SET PatchDocument = string('{{ {
"Type": type,
"MessageTtlSeconds": message_ttl_seconds,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';
DELETE example
/*+ delete */
DELETE FROM awscc.kinesisvideo.signaling_channels
WHERE
Identifier = '{{ name }}' AND
region = 'us-east-1';
Permissions
To operate on the signaling_channels resource, the following permissions are required:
- Create
- Read
- Update
- Delete
- List
kinesisvideo:CreateSignalingChannel,
kinesisvideo:DescribeSignalingChannel,
kinesisvideo:TagResource
kinesisvideo:DescribeSignalingChannel,
kinesisvideo:ListTagsForResource
kinesisvideo:UpdateSignalingChannel,
kinesisvideo:DescribeSignalingChannel,
kinesisvideo:TagResource,
kinesisvideo:UntagResource,
kinesisvideo:ListTagsForResource
kinesisvideo:DeleteSignalingChannel,
kinesisvideo:DescribeSignalingChannel
kinesisvideo:ListSignalingChannels