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.getStudioSessionMapping
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.
Using getStudioSessionMapping
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStudioSessionMapping(args: GetStudioSessionMappingArgs, opts?: InvokeOptions): Promise<GetStudioSessionMappingResult>
function getStudioSessionMappingOutput(args: GetStudioSessionMappingOutputArgs, opts?: InvokeOptions): Output<GetStudioSessionMappingResult>def get_studio_session_mapping(identity_name: Optional[str] = None,
                               identity_type: Optional[StudioSessionMappingIdentityType] = None,
                               studio_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetStudioSessionMappingResult
def get_studio_session_mapping_output(identity_name: Optional[pulumi.Input[str]] = None,
                               identity_type: Optional[pulumi.Input[StudioSessionMappingIdentityType]] = None,
                               studio_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetStudioSessionMappingResult]func LookupStudioSessionMapping(ctx *Context, args *LookupStudioSessionMappingArgs, opts ...InvokeOption) (*LookupStudioSessionMappingResult, error)
func LookupStudioSessionMappingOutput(ctx *Context, args *LookupStudioSessionMappingOutputArgs, opts ...InvokeOption) LookupStudioSessionMappingResultOutput> Note: This function is named LookupStudioSessionMapping in the Go SDK.
public static class GetStudioSessionMapping 
{
    public static Task<GetStudioSessionMappingResult> InvokeAsync(GetStudioSessionMappingArgs args, InvokeOptions? opts = null)
    public static Output<GetStudioSessionMappingResult> Invoke(GetStudioSessionMappingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStudioSessionMappingResult> getStudioSessionMapping(GetStudioSessionMappingArgs args, InvokeOptions options)
public static Output<GetStudioSessionMappingResult> getStudioSessionMapping(GetStudioSessionMappingArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:emr:getStudioSessionMapping
  arguments:
    # arguments dictionaryThe following arguments are supported:
- 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.Aws Native. Emr. Studio Session Mapping Identity Type 
- Specifies whether the identity to map to the Studio is a user or a group.
- 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 StudioSession Mapping Identity Type 
- Specifies whether the identity to map to the Studio is a user or a group.
- 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 StudioSession Mapping Identity Type 
- Specifies whether the identity to map to the Studio is a user or a group.
- 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 StudioSession Mapping Identity Type 
- Specifies whether the identity to map to the Studio is a user or a group.
- 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 StudioSession Mapping Identity Type 
- Specifies whether the identity to map to the Studio is a user or a group.
- 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.
- studioId String
- The ID of the Amazon EMR Studio to which the user or group will be mapped.
getStudioSessionMapping Result
The following output properties are available:
- SessionPolicy stringArn 
- 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.
- SessionPolicy stringArn 
- 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.
- sessionPolicy StringArn 
- 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.
- sessionPolicy stringArn 
- 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.
- session_policy_ strarn 
- 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.
- sessionPolicy StringArn 
- 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.
Supporting Types
StudioSessionMappingIdentityType    
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