CfnStudioSessionMappingProps

class aws_cdk.aws_emr.CfnStudioSessionMappingProps(*, identity_name, identity_type, session_policy_arn, studio_id)

Bases: object

Properties for defining a CfnStudioSessionMapping.

Parameters
  • identity_name (str) – The name of the user or group. For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference .

  • identity_type (str) – Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.

  • session_policy_arn (str) – 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 .

  • studio_id (str) – The ID of the Amazon EMR Studio to which the user or group will be mapped.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_emr as emr

cfn_studio_session_mapping_props = emr.CfnStudioSessionMappingProps(
    identity_name="identityName",
    identity_type="identityType",
    session_policy_arn="sessionPolicyArn",
    studio_id="studioId"
)

Attributes

identity_name

The name of the user or group.

For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-identityname

identity_type

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-identitytype

session_policy_arn

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 .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-sessionpolicyarn

studio_id

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

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-studioid