CfnStudioSessionMappingProps Struct
Properties for defining a CfnStudioSessionMapping.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const cfnStudioSessionMappingProps: emr.CfnStudioSessionMappingProps = {
identityName: 'identityName',
identityType: 'identityType',
sessionPolicyArn: 'sessionPolicyArn',
studioId: 'studioId',
};
Properties
The name of the user or group.
notes
For more information, see UserName and DisplayName in the Identity Store API Reference .
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
sessionPolicyArnstring | IManagedPolicyRefsession_policy_arntyping.Union[str, IManagedPolicyRef]sessionPolicyArnStringSessionPolicyArnstringSessionPolicyArninterface{}required#The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
notes
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 in the Amazon EMR Management Guide .
studioIdstring | IStudioRefstudio_idtyping.Union[str, IStudioRef]studioIdStringStudioIdstringStudioIdinterface{}required#The ID of the Amazon EMR Studio to which the user or group will be mapped.