emr_create_studio_session_mapping: Maps a user or group to the Amazon EMR Studio specified by...

View source: R/emr_operations.R

emr_create_studio_session_mappingR Documentation

Maps a user or group to the Amazon EMR Studio specified by StudioId, and applies a session policy to refine Studio permissions for that user or group

Description

Maps a user or group to the Amazon EMR Studio specified by StudioId, and applies a session policy to refine Studio permissions for that user or group. Use create_studio_session_mapping to assign users to a Studio when you use IAM Identity Center authentication. For instructions on how to assign users to a Studio when you use IAM authentication, see Assign a user or group to your EMR Studio.

See https://www.paws-r-sdk.com/docs/emr_create_studio_session_mapping/ for full documentation.

Usage

emr_create_studio_session_mapping(
  StudioId,
  IdentityId = NULL,
  IdentityName = NULL,
  IdentityType,
  SessionPolicyArn
)

Arguments

StudioId

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

IdentityId

The globally unique identifier (GUID) of the user or group from the IAM Identity Center Identity Store. For more information, see UserId and GroupId in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified, but not both.

IdentityName

The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference. Either IdentityName or IdentityId must be specified, but not both.

IdentityType

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

SessionPolicyArn

[required] 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. For more information, see Create an Amazon EMR Studio User Role with Session Policies.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.