Studio
Source:
src/AWS/EMR/Studio.ts
An Amazon EMR Studio — a web-based IDE for notebooks and interactive workloads that attaches to EMR clusters.
A Studio itself is free; you pay for the clusters it attaches to. Each Studio needs a VPC with subnets, a workspace and an engine security group, an IAM service role, and an S3 backup location.
Creating a Studio
Section titled “Creating a Studio”IAM-Authenticated Studio
const studio = yield* Studio("Notebooks", { authMode: "IAM", vpcId: vpc.vpcId, subnetIds: [subnetA.subnetId, subnetB.subnetId], serviceRole: serviceRole.roleArn, workspaceSecurityGroupId: workspaceSg.groupId, engineSecurityGroupId: engineSg.groupId, defaultS3Location: Output.interpolate`s3://${bucket.bucketName}/studio/`,});Studio with Description and Tags
const studio = yield* Studio("Notebooks", { authMode: "IAM", vpcId: vpc.vpcId, subnetIds: [subnetA.subnetId], serviceRole: serviceRole.roleArn, workspaceSecurityGroupId: workspaceSg.groupId, engineSecurityGroupId: engineSg.groupId, defaultS3Location: Output.interpolate`s3://${bucket.bucketName}/studio/`, description: "Data-science notebooks", tags: { team: "analytics" },});