AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EMR::StudioSessionMapping

CfnStudioSessionMapping

The `AWS::EMR::StudioSessionMapping` resource is an Amazon EMR resource type that maps a user or group to the Amazon EMR Studio specified by `StudioId` , and applies a session policy that defines Studio permissions for that user or group.

Import

import { CfnStudioSessionMapping } from 'aws-cdk-lib/aws-emr';

Or use the module namespace:

import * as emr from 'aws-cdk-lib/aws-emr';
// emr.CfnStudioSessionMapping

Properties

Configuration passed to the constructor as CfnStudioSessionMappingProps.

identityNameRequired
string

The name of the user or group. For more information, see [UserName](https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName) and [DisplayName](https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName) in the *Identity Store API Reference* .

identityTypeRequired
string

Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

sessionPolicyArnRequired
string | IManagedPolicyRef

The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. Session policies refine Studio user permissions without the need to use multiple IAM user roles. For more information, see [Create an EMR Studio user role with session policies](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-user-role.html) in the *Amazon EMR Management Guide* .

studioIdRequired
string | IStudioRef

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter