1. Packages
  2. AWS Native
  3. API Docs
  4. emr
  5. getStudioSessionMapping

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.emr.getStudioSessionMapping

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:emr:getStudioSessionMapping
      arguments:
        # arguments dictionary

    The 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.AwsNative.Emr.StudioSessionMappingIdentityType
    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 StudioSessionMappingIdentityType
    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 StudioSessionMappingIdentityType
    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 StudioSessionMappingIdentityType
    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 StudioSessionMappingIdentityType
    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:

    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.
    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.
    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.
    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.
    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.
    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.

    Supporting Types

    StudioSessionMappingIdentityType

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi