StudioSessionMapping

class StudioSessionMapping : KotlinCustomResource

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

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val identityId: Output<String>

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>

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

Link copied to clipboard
val identityType: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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>

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

Link copied to clipboard
val urn: Output<String>