We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 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.0.1 published on Tuesday, Oct 1, 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:
- 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 Pulumi.Aws Native. Emr. Studio Session Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- Studio
Id 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 StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- Studio
Id 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 StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- studio
Id 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 StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- studio
Id 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.
- 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.
- studio
Id 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:
- Session
Policy 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 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 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 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.
- session
Policy 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.0.1 published on Tuesday, Oct 1, 2024 by Pulumi