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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 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.
    
    
    resource "aws-native_emr_studio_session_mapping" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args StudioSessionMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args StudioSessionMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StudioSessionMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 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 Pulumi.AwsNative.Emr.StudioSessionMappingIdentityType
    Specifies whether the identity to map to the Studio is a user or a group.
    SessionPolicyArn 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 string
    The ID of the Amazon EMR Studio to which the user or group will be mapped.
    IdentityName 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 StudioSessionMappingIdentityType
    Specifies whether the identity to map to the Studio is a user or a group.
    SessionPolicyArn 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 string
    The ID of the Amazon EMR Studio to which the user or group will be mapped.
    identity_name 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.
    identity_type "USER" | "GROUP"
    Specifies whether the identity to map to the Studio is a user or a group.
    session_policy_arn 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.
    studio_id string
    The ID of the Amazon EMR Studio to which the user or group will be mapped.
    identityName 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 StudioSessionMappingIdentityType
    Specifies whether the identity to map to the Studio is a user or a group.
    sessionPolicyArn 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 String
    The ID of the Amazon EMR Studio to which the user or group will be mapped.
    identityName 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 StudioSessionMappingIdentityType
    Specifies whether the identity to map to the Studio is a user or a group.
    sessionPolicyArn 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 string
    The ID of the Amazon EMR Studio to which the user or group will be mapped.
    identity_name 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 StudioSessionMappingIdentityType
    Specifies whether the identity to map to the 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.
    studio_id str
    The ID of the Amazon EMR Studio to which the user or group will be mapped.
    identityName 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 "USER" | "GROUP"
    Specifies whether the identity to map to the Studio is a user or a group.
    sessionPolicyArn 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 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 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.

    Look up Existing StudioSessionMapping Resource

    Get an existing StudioSessionMapping resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): StudioSessionMapping
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> StudioSessionMapping
    func GetStudioSessionMapping(ctx *Context, name string, id IDInput, state *StudioSessionMappingState, opts ...ResourceOption) (*StudioSessionMapping, error)
    public static StudioSessionMapping Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static StudioSessionMapping get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingStudioSessionMapping:    type: aws-native:emr:StudioSessionMapping    get:      id: ${id}
    import {
      to = aws-native_emr_studio_session_mapping.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state StudioSessionMappingState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    StudioSessionMappingIdentityType

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

    NameValue
    UserUSER
    GroupGROUP
    NameValue
    StudioSessionMappingIdentityTypeUserUSER
    StudioSessionMappingIdentityTypeGroupGROUP
    Value
    USER
    GROUP
    NameValue
    UserUSER
    GroupGROUP
    NameValue
    UserUSER
    GroupGROUP
    NameValue
    USERUSER
    GROUPGROUP
    Value
    USER
    GROUP

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial