StudioSessionMappingArgs

data class StudioSessionMappingArgs(val identityId: Output<String>? = null, val identityName: Output<String>? = null, val identityType: Output<String>? = null, val sessionPolicyArn: Output<String>? = null, val studioId: Output<String>? = null) : ConvertibleToJava<StudioSessionMappingArgs>

Provides an Elastic MapReduce Studio Session Mapping.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.emr.StudioSessionMapping;
import com.pulumi.aws.emr.StudioSessionMappingArgs;
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 StudioSessionMapping("example", StudioSessionMappingArgs.builder()
.studioId(aws_emr_studio.example().id())
.identityType("USER")
.identityId("example")
.sessionPolicyArn(aws_iam_policy.example().arn())
.build());
}
}

Import

EMR studio session mappings can be imported using the id, e.g., studio-id:identity-type:identity-id

$ pulumi import aws:emr/studioSessionMapping:StudioSessionMapping example es-xxxxx:USER:xxxxx-xxx-xxx

Constructors

Link copied to clipboard
constructor(identityId: Output<String>? = null, identityName: Output<String>? = null, identityType: Output<String>? = null, sessionPolicyArn: Output<String>? = null, studioId: Output<String>? = null)

Properties

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

The globally unique identifier (GUID) of the user or group from the Amazon Web Services SSO Identity Store.

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

The name of the user or group from the Amazon Web Services SSO Identity Store.

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

Specifies whether the identity to map to the Amazon EMR Studio is a USER or a GROUP.

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

The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. You should specify the ARN for the session policy that you want to apply, not the ARN of your user role.

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

The ID of the Amazon EMR Studio to which the user or group will be mapped.

Functions

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