Studio

class Studio : KotlinCustomResource

Provides an Elastic MapReduce Studio.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.emr.Studio;
import com.pulumi.aws.emr.StudioArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Studio("example", StudioArgs.builder()
.authMode("SSO")
.defaultS3Location(String.format("s3://%s/test", aws_s3_bucket.test().bucket()))
.engineSecurityGroupId(aws_security_group.test().id())
.serviceRole(aws_iam_role.test().arn())
.subnetIds(aws_subnet.test().id())
.userRole(aws_iam_role.test().arn())
.vpcId(aws_vpc.test().id())
.workspaceSecurityGroupId(aws_security_group.test().id())
.build());
}
}

Import

EMR studios can be imported using the id, e.g.,

$ pulumi import aws:emr/studio:Studio studio es-123456ABCDEF

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the studio.

Link copied to clipboard
val authMode: Output<String>

Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO. Valid values are SSO or IAM.

Link copied to clipboard

The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.

Link copied to clipboard
val description: Output<String>?

A detailed description of the Amazon EMR Studio.

Link copied to clipboard

The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by vpc_id.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val idpAuthUrl: Output<String>?

The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.

Link copied to clipboard

The name that your identity provider (IdP) uses for its RelayState parameter. For example, RelayState or TargetSource. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. The RelayState parameter differs by IdP.

Link copied to clipboard
val name: Output<String>

A descriptive name for the Amazon EMR Studio.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serviceRole: Output<String>

The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.

Link copied to clipboard
val subnetIds: Output<List<String>>

A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by vpc_id. Studio users can create a Workspace in any of the specified subnets.

Link copied to clipboard
val tags: Output<Map<String, String>>?

list of tags to apply to the EMR Cluster. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val url: Output<String>

The unique access URL of the Amazon EMR Studio.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userRole: Output<String>?

The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a User Role when you use Amazon Web Services SSO authentication. The permissions attached to the User Role can be scoped down for each user or group using session policies.

Link copied to clipboard
val vpcId: Output<String>

The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.

Link copied to clipboard

The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by vpc_id. The following arguments are optional: