Skip to main content

image_builders

Creates, updates, deletes or gets an image_builder resource or lists image_builders in a region

Overview

Nameimage_builders
TypeResource
DescriptionResource Type definition for AWS::AppStream::ImageBuilder
Idaws.appstream.image_builders

Fields

NameDatatypeDescription
descriptionstring
vpc_configobject
enable_default_internet_accessboolean
domain_join_infoobject
appstream_agent_versionstring
namestring
image_namestring
display_namestring
iam_role_arnstring
instance_typestring
tagsarray
streaming_urlstring
image_arnstring
access_endpointsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTInstanceType, Name, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all image_builders in a region.

SELECT
region,
description,
vpc_config,
enable_default_internet_access,
domain_join_info,
appstream_agent_version,
name,
image_name,
display_name,
iam_role_arn,
instance_type,
tags,
streaming_url,
image_arn,
access_endpoints
FROM aws.appstream.image_builders
WHERE region = 'us-east-1';

Gets all properties from an individual image_builder.

SELECT
region,
description,
vpc_config,
enable_default_internet_access,
domain_join_info,
appstream_agent_version,
name,
image_name,
display_name,
iam_role_arn,
instance_type,
tags,
streaming_url,
image_arn,
access_endpoints
FROM aws.appstream.image_builders
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

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

/*+ create */
INSERT INTO aws.appstream.image_builders (
Name,
InstanceType,
region
)
SELECT
'{{ Name }}',
'{{ InstanceType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.appstream.image_builders
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';

Permissions

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

Create

appstream:CreateImageBuilder,
appstream:CreateImageBuilderStreamingURL,
appstream:CreateStreamingURL,
appstream:DeleteImageBuilder,
appstream:DescribeImageBuilders,
appstream:StartImageBuilder,
appstream:StopImageBuilder,
iam:CreateServiceLinkedRole,
iam:DeleteServiceLinkedRole,
iam:GetServiceLinkedRoleDeletionStatus

Read

appstream:CreateImageBuilder,
appstream:CreateImageBuilderStreamingURL,
appstream:CreateStreamingURL,
appstream:DeleteImageBuilder,
appstream:DescribeImageBuilders,
appstream:StartImageBuilder,
appstream:StopImageBuilder,
iam:CreateServiceLinkedRole,
iam:DeleteServiceLinkedRole,
iam:GetServiceLinkedRoleDeletionStatus

Delete

appstream:CreateImageBuilder,
appstream:CreateImageBuilderStreamingURL,
appstream:CreateStreamingURL,
appstream:DeleteImageBuilder,
appstream:DescribeImageBuilders,
appstream:StartImageBuilder,
appstream:StopImageBuilder,
iam:CreateServiceLinkedRole,
iam:DeleteServiceLinkedRole,
iam:GetServiceLinkedRoleDeletionStatus

List

appstream:CreateImageBuilder,
appstream:CreateImageBuilderStreamingURL,
appstream:CreateStreamingURL,
appstream:DeleteImageBuilder,
appstream:DescribeImageBuilders,
appstream:StartImageBuilder,
appstream:StopImageBuilder,
iam:CreateServiceLinkedRole,
iam:DeleteServiceLinkedRole,
iam:GetServiceLinkedRoleDeletionStatus