Skip to main content

studios

Creates, updates, deletes, gets or lists a studios resource.

Overview

Namestudios
TypeResource
Idaws.emr.studios

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auth_modestringSpecifies whether the Amazon EMR Studio authenticates users with IAM or IAM Identity Center. (SSO, IAM)
creation_timestring (date-time)The time the Amazon EMR Studio was created.
default_s3_locationstringThe Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
descriptionstringThe detailed description of the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
encryption_key_arnstringThe KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
engine_security_group_idstringThe ID of the Engine security group associated with the Amazon EMR Studio. The Engine security group allows inbound network traffic from resources in the Workspace security group. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
idc_instance_arnstringThe ARN of the IAM Identity Center instance the Studio application belongs to.
idc_user_assignmentstringIndicates whether the Studio has REQUIRED or OPTIONAL IAM Identity Center user assignment. If the value is set to REQUIRED, users must be explicitly assigned to the Studio application to access the Studio. (REQUIRED, OPTIONAL)
idp_auth_urlstringYour identity provider's authentication endpoint. Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
idp_relay_state_parameter_namestringThe name of your identity provider's RelayState parameter. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
namestringThe name of the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
service_rolestringThe name of the IAM role assumed by the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
studio_arnstringThe Amazon Resource Name (ARN) of the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
studio_idstringThe ID of the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
subnet_idsarrayThe list of IDs of the subnets associated with the Amazon EMR Studio.
tagsarrayA list of tags associated with the Amazon EMR Studio.
trusted_identity_propagation_enabledbooleanIndicates whether the Studio has Trusted identity propagation enabled. The default value is false.
urlstringThe unique access URL of the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
user_rolestringThe name of the IAM role assumed by users logged in to the Amazon EMR Studio. A Studio only requires a UserRole when you use IAM authentication. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
vpc_idstringThe ID of the VPC associated with the Amazon EMR Studio. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)
workspace_security_group_idstringThe ID of the Workspace security group associated with the Amazon EMR Studio. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_studioselectregionReturns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio access URL, and so on.
list_studiosselectregionReturns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.
create_studioinsertregion, AuthMode, VpcId, SubnetIds, ServiceRole, WorkspaceSecurityGroupId, EngineSecurityGroupId, DefaultS3LocationCreates a new Amazon EMR Studio.
update_studioupdateregion, StudioIdUpdates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.
delete_studiodeleteregionRemoves an Amazon EMR Studio from the Studio metadata store.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio access URL, and so on.

SELECT
auth_mode,
creation_time,
default_s3_location,
description,
encryption_key_arn,
engine_security_group_id,
idc_instance_arn,
idc_user_assignment,
idp_auth_url,
idp_relay_state_parameter_name,
name,
service_role,
studio_arn,
studio_id,
subnet_ids,
tags,
trusted_identity_propagation_enabled,
url,
user_role,
vpc_id,
workspace_security_group_id
FROM aws.emr.studios
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new Amazon EMR Studio.

INSERT INTO aws.emr.studios (
Name,
Description,
AuthMode,
VpcId,
SubnetIds,
ServiceRole,
UserRole,
WorkspaceSecurityGroupId,
EngineSecurityGroupId,
DefaultS3Location,
IdpAuthUrl,
IdpRelayStateParameterName,
Tags,
TrustedIdentityPropagationEnabled,
IdcUserAssignment,
IdcInstanceArn,
EncryptionKeyArn,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ AuthMode }}' /* required */,
'{{ VpcId }}' /* required */,
'{{ SubnetIds }}' /* required */,
'{{ ServiceRole }}' /* required */,
'{{ UserRole }}',
'{{ WorkspaceSecurityGroupId }}' /* required */,
'{{ EngineSecurityGroupId }}' /* required */,
'{{ DefaultS3Location }}' /* required */,
'{{ IdpAuthUrl }}',
'{{ IdpRelayStateParameterName }}',
'{{ Tags }}',
{{ TrustedIdentityPropagationEnabled }},
'{{ IdcUserAssignment }}',
'{{ IdcInstanceArn }}',
'{{ EncryptionKeyArn }}',
'{{ region }}'
RETURNING
studio_id,
url
;

UPDATE examples

Updates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.

UPDATE aws.emr.studios
SET
StudioId = '{{ StudioId }}',
Name = '{{ Name }}',
Description = '{{ Description }}',
SubnetIds = '{{ SubnetIds }}',
DefaultS3Location = '{{ DefaultS3Location }}',
EncryptionKeyArn = '{{ EncryptionKeyArn }}'
WHERE
region = '{{ region }}' --required
AND StudioId = '{{ StudioId }}' --required;

DELETE examples

Removes an Amazon EMR Studio from the Studio metadata store.

DELETE FROM aws.emr.studios
WHERE region = '{{ region }}' --required
;