StudioArgs

data class StudioArgs(val authMode: Output<String>? = null, val defaultS3Location: Output<String>? = null, val description: Output<String>? = null, val engineSecurityGroupId: Output<String>? = null, val idpAuthUrl: Output<String>? = null, val idpRelayStateParameterName: Output<String>? = null, val name: Output<String>? = null, val serviceRole: Output<String>? = null, val subnetIds: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val userRole: Output<String>? = null, val vpcId: Output<String>? = null, val workspaceSecurityGroupId: Output<String>? = null) : ConvertibleToJava<StudioArgs>

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

Constructors

Link copied to clipboard
constructor(authMode: Output<String>? = null, defaultS3Location: Output<String>? = null, description: Output<String>? = null, engineSecurityGroupId: Output<String>? = null, idpAuthUrl: Output<String>? = null, idpRelayStateParameterName: Output<String>? = null, name: Output<String>? = null, serviceRole: Output<String>? = null, subnetIds: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, userRole: Output<String>? = null, vpcId: Output<String>? = null, workspaceSecurityGroupId: Output<String>? = null)

Properties

Link copied to clipboard
val authMode: Output<String>? = null

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

Link copied to clipboard
val defaultS3Location: Output<String>? = null

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

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

A detailed description of the Amazon EMR Studio.

Link copied to clipboard
val engineSecurityGroupId: Output<String>? = null

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 idpAuthUrl: Output<String>? = null

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
val idpRelayStateParameterName: Output<String>? = null

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>? = null

A descriptive name for the Amazon EMR Studio.

Link copied to clipboard
val serviceRole: Output<String>? = null

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>>? = null

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>>? = null

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 userRole: Output<String>? = null

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>? = null

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

Link copied to clipboard
val workspaceSecurityGroupId: Output<String>? = null

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:

Functions

Link copied to clipboard
open override fun toJava(): StudioArgs