Skip to main content

launch_profiles

Creates, updates, deletes or gets a launch_profile resource or lists launch_profiles in a region

Overview

Namelaunch_profiles
TypeResource
DescriptionRepresents a launch profile which delegates access to a collection of studio components to studio users
Idaws.nimblestudio.launch_profiles

Fields

NameDatatypeDescription
descriptionstring

The description.

ec2_subnet_idsarray

Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.
These subnets must support the specified instance types.

launch_profile_idstring
launch_profile_protocol_versionsarray

The version number of the protocol that is used by the launch profile. The only valid
version is "2021-03-31".

namestring

The name for the launch profile.

stream_configurationobject

A configuration for a streaming session.

studio_component_idsarray

Unique identifiers for a collection of studio components that can be used with this
launch profile.

studio_idstring

The studio ID.

tagsobject
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTStudioId, Name, StudioComponentIds, Ec2SubnetIds, StreamConfiguration, LaunchProfileProtocolVersions, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all launch_profiles in a region.

SELECT
region,
description,
ec2_subnet_ids,
launch_profile_id,
launch_profile_protocol_versions,
name,
stream_configuration,
studio_component_ids,
studio_id,
tags
FROM aws.nimblestudio.launch_profiles
WHERE region = 'us-east-1';

Gets all properties from an individual launch_profile.

SELECT
region,
description,
ec2_subnet_ids,
launch_profile_id,
launch_profile_protocol_versions,
name,
stream_configuration,
studio_component_ids,
studio_id,
tags
FROM aws.nimblestudio.launch_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<LaunchProfileId>|<StudioId>';

INSERT example

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

/*+ create */
INSERT INTO aws.nimblestudio.launch_profiles (
Ec2SubnetIds,
LaunchProfileProtocolVersions,
Name,
StreamConfiguration,
StudioComponentIds,
StudioId,
region
)
SELECT
'{{ Ec2SubnetIds }}',
'{{ LaunchProfileProtocolVersions }}',
'{{ Name }}',
'{{ StreamConfiguration }}',
'{{ StudioComponentIds }}',
'{{ StudioId }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

nimble:CreateLaunchProfile,
nimble:GetLaunchProfile,
nimble:TagResource,
ec2:CreateNetworkInterface,
ec2:CreateNetworkInterfacePermission,
ec2:RunInstances,
ec2:DescribeSubnets

Read

nimble:GetLaunchProfile

Update

nimble:UpdateLaunchProfile,
nimble:GetLaunchProfile,
ec2:CreateNetworkInterface,
ec2:CreateNetworkInterfacePermission,
ec2:DescribeSubnets,
ec2:RunInstances

Delete

nimble:DeleteLaunchProfile,
nimble:GetLaunchProfile,
nimble:UntagResource

List

nimble:ListLaunchProfiles