Skip to main content

studios

Creates, updates, deletes or gets a studio resource or lists studios in a region

Overview

Namestudios
TypeResource
DescriptionRepresents a studio that contains other Nimble Studio resources
Idaws.nimblestudio.studios

Fields

NameDatatypeDescription
admin_role_arnstring

The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.

display_namestring

A friendly name for the studio.

home_regionstring

The Amazon Web Services Region where the studio resource is located.

sso_client_idstring

The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.

studio_encryption_configurationobject

Configuration of the encryption method that is used for the studio.

studio_idstring
studio_namestring

The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.

studio_urlstring

The address of the web page for the studio.

tagsobject
user_role_arnstring

The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.

regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTDisplayName, UserRoleArn, AdminRoleArn, StudioName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all studios in a region.

SELECT
region,
admin_role_arn,
display_name,
home_region,
sso_client_id,
studio_encryption_configuration,
studio_id,
studio_name,
studio_url,
tags,
user_role_arn
FROM aws.nimblestudio.studios
WHERE region = 'us-east-1';

Gets all properties from an individual studio.

SELECT
region,
admin_role_arn,
display_name,
home_region,
sso_client_id,
studio_encryption_configuration,
studio_id,
studio_name,
studio_url,
tags,
user_role_arn
FROM aws.nimblestudio.studios
WHERE region = 'us-east-1' AND data__Identifier = '<StudioId>';

INSERT example

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

/*+ create */
INSERT INTO aws.nimblestudio.studios (
AdminRoleArn,
DisplayName,
StudioName,
UserRoleArn,
region
)
SELECT
'{{ AdminRoleArn }}',
'{{ DisplayName }}',
'{{ StudioName }}',
'{{ UserRoleArn }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

iam:PassRole,
nimble:CreateStudio,
nimble:GetStudio,
nimble:TagResource,
sso:CreateManagedApplicationInstance,
kms:Encrypt,
kms:Decrypt,
kms:CreateGrant,
kms:ListGrants,
kms:GenerateDataKey

Read

nimble:GetStudio,
kms:Encrypt,
kms:Decrypt,
kms:ListGrants,
kms:GenerateDataKey

Update

iam:PassRole,
nimble:UpdateStudio,
nimble:GetStudio,
kms:Encrypt,
kms:Decrypt,
kms:CreateGrant,
kms:ListGrants,
kms:GenerateDataKey

Delete

nimble:DeleteStudio,
nimble:GetStudio,
nimble:UntagResource,
kms:Encrypt,
kms:Decrypt,
kms:ListGrants,
kms:RetireGrant,
kms:GenerateDataKey,
sso:DeleteManagedApplicationInstance,
sso:GetManagedApplicationInstance

List

nimble:ListStudios