interface CfnStudioSessionMappingProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMR.CfnStudioSessionMappingProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnStudioSessionMappingProps |
![]() | software.amazon.awscdk.services.emr.CfnStudioSessionMappingProps |
![]() | aws_cdk.aws_emr.CfnStudioSessionMappingProps |
![]() | aws-cdk-lib » aws_emr » CfnStudioSessionMappingProps |
Properties for defining a CfnStudioSessionMapping
.
Example
// 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
Name | Type | Description |
---|---|---|
identity | string | The name of the user or group. |
identity | string | Specifies whether the identity to map to the Amazon EMR Studio is a user or a group. |
session | string | The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. |
studio | string | The ID of the Amazon EMR Studio to which the user or group will be mapped. |
identityName
Type:
string
The name of the user or group.
For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference .
identityType
Type:
string
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
sessionPolicyArn
Type:
string
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 in the Amazon EMR Management Guide .
studioId
Type:
string
The ID of the Amazon EMR Studio to which the user or group will be mapped.