1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. emr
  5. StudioSessionMapping

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.emr.StudioSessionMapping

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

An example resource schema demonstrating some basic constructs and validation rules.

Create StudioSessionMapping Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new StudioSessionMapping(name: string, args: StudioSessionMappingArgs, opts?: CustomResourceOptions);
@overload
def StudioSessionMapping(resource_name: str,
                         args: StudioSessionMappingArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def StudioSessionMapping(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         identity_name: Optional[str] = None,
                         identity_type: Optional[StudioSessionMappingIdentityType] = None,
                         session_policy_arn: Optional[str] = None,
                         studio_id: Optional[str] = None)
func NewStudioSessionMapping(ctx *Context, name string, args StudioSessionMappingArgs, opts ...ResourceOption) (*StudioSessionMapping, error)
public StudioSessionMapping(string name, StudioSessionMappingArgs args, CustomResourceOptions? opts = null)
public StudioSessionMapping(String name, StudioSessionMappingArgs args)
public StudioSessionMapping(String name, StudioSessionMappingArgs args, CustomResourceOptions options)
type: aws-native:emr:StudioSessionMapping
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. StudioSessionMappingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. StudioSessionMappingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. StudioSessionMappingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. StudioSessionMappingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. StudioSessionMappingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

StudioSessionMapping Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The StudioSessionMapping resource accepts the following input properties:

IdentityName This property is required. string
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
IdentityType This property is required. Pulumi.AwsNative.Emr.StudioSessionMappingIdentityType
Specifies whether the identity to map to the Studio is a user or a group.
SessionPolicyArn This property is required. 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.
StudioId This property is required. string
The ID of the Amazon EMR Studio to which the user or group will be mapped.
IdentityName This property is required. string
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
IdentityType This property is required. StudioSessionMappingIdentityType
Specifies whether the identity to map to the Studio is a user or a group.
SessionPolicyArn This property is required. 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.
StudioId This property is required. string
The ID of the Amazon EMR Studio to which the user or group will be mapped.
identityName This property is required. String
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
identityType This property is required. StudioSessionMappingIdentityType
Specifies whether the identity to map to the Studio is a user or a group.
sessionPolicyArn This property is required. 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.
studioId This property is required. String
The ID of the Amazon EMR Studio to which the user or group will be mapped.
identityName This property is required. string
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
identityType This property is required. StudioSessionMappingIdentityType
Specifies whether the identity to map to the Studio is a user or a group.
sessionPolicyArn This property is required. 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.
studioId This property is required. string
The ID of the Amazon EMR Studio to which the user or group will be mapped.
identity_name This property is required. str
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
identity_type This property is required. StudioSessionMappingIdentityType
Specifies whether the identity to map to the Studio is a user or a group.
session_policy_arn This property is required. 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.
studio_id This property is required. str
The ID of the Amazon EMR Studio to which the user or group will be mapped.
identityName This property is required. String
The name of the user or group. For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference. Either IdentityName or IdentityId must be specified.
identityType This property is required. "USER" | "GROUP"
Specifies whether the identity to map to the Studio is a user or a group.
sessionPolicyArn This property is required. 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.
studioId This property is required. String
The ID of the Amazon EMR Studio to which the user or group will be mapped.

Outputs

All input properties are implicitly available as output properties. Additionally, the StudioSessionMapping resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

StudioSessionMappingIdentityType
, StudioSessionMappingIdentityTypeArgs

User
USER
Group
GROUP
StudioSessionMappingIdentityTypeUser
USER
StudioSessionMappingIdentityTypeGroup
GROUP
User
USER
Group
GROUP
User
USER
Group
GROUP
USER
USER
GROUP
GROUP
"USER"
USER
"GROUP"
GROUP

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi