Studio Session Mapping Args
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
The globally unique identifier (GUID) of the user or group from the Amazon Web Services SSO Identity Store.
Link copied to clipboard
The name of the user or group from the Amazon Web Services SSO Identity Store.
Link copied to clipboard
Specifies whether the identity to map to the Amazon EMR Studio is a USER
or a GROUP
.
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.