Skip to main content

storage_configurations

Creates, updates, deletes or gets a storage_configuration resource or lists storage_configurations in a region

Overview

Namestorage_configurations
TypeResource
DescriptionResource Type definition for AWS::IVS::StorageConfiguration
Idawscc.ivs.storage_configurations

Fields

NameDatatypeDescription
arnstringStorage Configuration ARN is automatically generated on creation and assigned as the unique identifier.
namestringStorage Configuration Name.
s3objectA complex type that describes an S3 location where recorded videos will be stored.
tagsarrayA list of key-value pairs that contain metadata for the asset model.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourcestorage_configurationsINSERTS3, region
delete_resourcestorage_configurationsDELETEIdentifier, region
update_resourcestorage_configurationsUPDATEIdentifier, PatchDocument, region
list_resourcesstorage_configurations_list_onlySELECTregion
get_resourcestorage_configurationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual storage_configuration.

SELECT
region,
arn,
name,
s3,
tags
FROM awscc.ivs.storage_configurations
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.ivs.storage_configurations
SET PatchDocument = string('{{ {
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

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

Permissions

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

ivs:CreateStorageConfiguration,
ivs:GetStorageConfiguration,
ivs:TagResource,
s3:GetBucketLocation,
s3:GetBucketPolicy,
s3:PutBucketPolicy