Skip to main content

app_block_builders

Creates, updates, deletes or gets an app_block_builder resource or lists app_block_builders in a region

Overview

Nameapp_block_builders
TypeResource
DescriptionResource Type definition for AWS::AppStream::AppBlockBuilder.
Idaws.appstream.app_block_builders

Fields

NameDatatypeDescription
namestring
arnstring
descriptionstring
display_namestring
platformstring
access_endpointsarray
tagsarray
vpc_configobject
enable_default_internet_accessboolean
iam_role_arnstring
created_timestring
instance_typestring
app_block_arnsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Platform, InstanceType, VpcConfig, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all app_block_builders in a region.

SELECT
region,
name,
arn,
description,
display_name,
platform,
access_endpoints,
tags,
vpc_config,
enable_default_internet_access,
iam_role_arn,
created_time,
instance_type,
app_block_arns
FROM aws.appstream.app_block_builders
WHERE region = 'us-east-1';

Gets all properties from an individual app_block_builder.

SELECT
region,
name,
arn,
description,
display_name,
platform,
access_endpoints,
tags,
vpc_config,
enable_default_internet_access,
iam_role_arn,
created_time,
instance_type,
app_block_arns
FROM aws.appstream.app_block_builders
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

appstream:CreateAppBlockBuilder,
appstream:DescribeAppBlockBuilders,
appstream:StartAppBlockBuilder,
appstream:AssociateAppBlockBuilderAppBlock,
appstream:DescribeAppBlockBuilderAppBlockAssociations,
appstream:TagResource,
iam:PassRole

Read

appstream:DescribeAppBlockBuilders

Update

appstream:UpdateAppBlockBuilder,
appstream:DescribeAppBlockBuilders,
appstream:StartAppBlockBuilder,
appstream:StopAppBlockBuilder,
appstream:AssociateAppBlockBuilderAppBlock,
appstream:DisassociateAppBlockBuilderAppBlock,
appstream:DescribeAppBlockBuilderAppBlockAssociations,
appstream:ListTagsForResource,
appstream:TagResource,
appstream:UntagResource,
iam:PassRole

Delete

appstream:DescribeAppBlockBuilders,
appstream:DeleteAppBlockBuilder,
appstream:DisassociateAppBlockBuilderAppBlock,
appstream:DescribeAppBlockBuilderAppBlockAssociations

List

appstream:DescribeAppBlockBuilders