Skip to main content

streaming_images

Creates, updates, deletes or gets a streaming_image resource or lists streaming_images in a region

Overview

Namestreaming_images
TypeResource
DescriptionRepresents a streaming session machine image that can be used to launch a streaming session
Idaws.nimblestudio.streaming_images

Fields

NameDatatypeDescription
descriptionstring

A human-readable description of the streaming image.

ec2_image_idstring

The ID of an EC2 machine image with which to create this streaming image.

encryption_configurationobject

TODO

eula_idsarray

The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.

namestring

A friendly name for a streaming image resource.

ownerstring

The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.

platformstring

The platform of the streaming image, either WINDOWS or LINUX.

streaming_image_idstring
studio_idstring

The studioId.

tagsobject
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTStudioId, Ec2ImageId, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all streaming_images in a region.

SELECT
region,
description,
ec2_image_id,
encryption_configuration,
eula_ids,
name,
owner,
platform,
streaming_image_id,
studio_id,
tags
FROM aws.nimblestudio.streaming_images
WHERE region = 'us-east-1';

Gets all properties from an individual streaming_image.

SELECT
region,
description,
ec2_image_id,
encryption_configuration,
eula_ids,
name,
owner,
platform,
streaming_image_id,
studio_id,
tags
FROM aws.nimblestudio.streaming_images
WHERE region = 'us-east-1' AND data__Identifier = '<StudioId>|<StreamingImageId>';

INSERT example

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

/*+ create */
INSERT INTO aws.nimblestudio.streaming_images (
Ec2ImageId,
Name,
StudioId,
region
)
SELECT
'{{ Ec2ImageId }}',
'{{ Name }}',
'{{ StudioId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.nimblestudio.streaming_images
WHERE data__Identifier = '<StudioId|StreamingImageId>'
AND region = 'us-east-1';

Permissions

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

Create

nimble:CreateStreamingImage,
nimble:GetStreamingImage,
nimble:TagResource,
ec2:DescribeImages,
ec2:DescribeSnapshots,
ec2:ModifyInstanceAttribute,
ec2:ModifySnapshotAttribute,
ec2:ModifyImageAttribute,
ec2:RegisterImage,
kms:Encrypt,
kms:Decrypt,
kms:CreateGrant,
kms:ListGrants,
kms:GenerateDataKey

Read

nimble:GetStreamingImage

Update

nimble:UpdateStreamingImage,
nimble:GetStreamingImage,
kms:Encrypt,
kms:Decrypt,
kms:CreateGrant,
kms:ListGrants,
kms:GenerateDataKey

Delete

nimble:DeleteStreamingImage,
nimble:GetStreamingImage,
nimble:UntagResource,
ec2:ModifyInstanceAttribute,
ec2:ModifySnapshotAttribute,
ec2:DeregisterImage,
ec2:DeleteSnapshot,
kms:ListGrants,
kms:RetireGrant

List

nimble:ListStreamingImages