AWS::EMR::StudioSessionMappingThe `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 { CfnStudioSessionMapping } from 'aws-cdk-lib/aws-emr';Or use the module namespace:
import * as emr from 'aws-cdk-lib/aws-emr';
// emr.CfnStudioSessionMappingConfiguration passed to the constructor as CfnStudioSessionMappingProps.
identityNameRequiredstringThe 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* .
identityTypeRequiredstringSpecifies whether the identity to map to the Amazon EMR Studio is a user or a group.
sessionPolicyArnRequiredstring | IManagedPolicyRefThe 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* .
studioIdRequiredstring | IStudioRefThe ID of the Amazon EMR Studio to which the user or group will be mapped.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-emrAWS::EMR::StudioSessionMapping