Skip to main content

recording_configurations

Creates, updates, deletes or gets a recording_configuration resource or lists recording_configurations in a region

Overview

Namerecording_configurations
TypeResource
DescriptionResource Type definition for AWS::IVS::RecordingConfiguration
Idaws.ivs.recording_configurations

Fields

NameDatatypeDescription
arnstringRecording Configuration ARN is automatically generated on creation and assigned as the unique identifier.
namestringRecording Configuration Name.
statestringRecording Configuration State.
recording_reconnect_window_secondsintegerRecording Reconnect Window Seconds. (0 means disabled)
destination_configurationobjectRecording Destination Configuration.
tagsarrayA list of key-value pairs that contain metadata for the asset model.
thumbnail_configurationobjectRecording Thumbnail Configuration.
rendition_configurationobjectRendition Configuration describes which renditions should be recorded for a stream.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTDestinationConfiguration, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all recording_configurations in a region.

SELECT
region,
arn,
name,
state,
recording_reconnect_window_seconds,
destination_configuration,
tags,
thumbnail_configuration,
rendition_configuration
FROM aws.ivs.recording_configurations
WHERE region = 'us-east-1';

Gets all properties from an individual recording_configuration.

SELECT
region,
arn,
name,
state,
recording_reconnect_window_seconds,
destination_configuration,
tags,
thumbnail_configuration,
rendition_configuration
FROM aws.ivs.recording_configurations
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

/*+ create */
INSERT INTO aws.ivs.recording_configurations (
DestinationConfiguration,
region
)
SELECT
'{{ DestinationConfiguration }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.ivs.recording_configurations
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

ivs:CreateRecordingConfiguration,
ivs:GetRecordingConfiguration,
ivs:TagResource,
iam:CreateServiceLinkedRole,
iam:PutRolePolicy,
iam:AttachRolePolicy,
s3:ListBucket,
s3:GetBucketLocation,
cloudformation:ListExports

Read

ivs:GetRecordingConfiguration,
s3:GetBucketLocation,
ivs:ListTagsForResource

Update

ivs:GetRecordingConfiguration,
sts:AssumeRole,
iam:CreateServiceLinkedRole,
iam:PutRolePolicy,
iam:AttachRolePolicy,
s3:ListBucket,
ivs:TagResource,
ivs:UntagResource,
ivs:ListTagsForResource

Delete

ivs:DeleteRecordingConfiguration,
ivs:UntagResource,
iam:CreateServiceLinkedRole

List

ivs:ListRecordingConfigurations,
s3:GetBucketLocation,
ivs:ListTagsForResource