Class: Aws::EMR::Types::CreateStudioSessionMappingInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass CreateStudioSessionMappingInput data as a hash:

{
  studio_id: "XmlStringMaxLen256", # required
  identity_id: "XmlStringMaxLen256",
  identity_name: "XmlStringMaxLen256",
  identity_type: "USER", # required, accepts USER, GROUP
  session_policy_arn: "XmlStringMaxLen256", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#identity_idString

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

Returns:

  • (String)


1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1623

class CreateStudioSessionMappingInput < Struct.new(
  :studio_id,
  :identity_id,
  :identity_name,
  :identity_type,
  :session_policy_arn)
  SENSITIVE = []
  include Aws::Structure
end

#identity_nameString

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

Returns:

  • (String)


1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1623

class CreateStudioSessionMappingInput < Struct.new(
  :studio_id,
  :identity_id,
  :identity_name,
  :identity_type,
  :session_policy_arn)
  SENSITIVE = []
  include Aws::Structure
end

#identity_typeString

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

Returns:

  • (String)


1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1623

class CreateStudioSessionMappingInput < Struct.new(
  :studio_id,
  :identity_id,
  :identity_name,
  :identity_type,
  :session_policy_arn)
  SENSITIVE = []
  include Aws::Structure
end

#session_policy_arnString

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 EMR Studio User Role with Session Policies.

Returns:

  • (String)


1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1623

class CreateStudioSessionMappingInput < Struct.new(
  :studio_id,
  :identity_id,
  :identity_name,
  :identity_type,
  :session_policy_arn)
  SENSITIVE = []
  include Aws::Structure
end

#studio_idString

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

Returns:

  • (String)


1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1623

class CreateStudioSessionMappingInput < Struct.new(
  :studio_id,
  :identity_id,
  :identity_name,
  :identity_type,
  :session_policy_arn)
  SENSITIVE = []
  include Aws::Structure
end