We recommend new projects start with resources from the AWS provider.
aws-native.emr.StudioSessionMapping
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 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
The StudioSessionMapping resource accepts the following input properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- studio
Id 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
- Studio
Session Mapping Identity Type User - USER
- Studio
Session Mapping Identity Type Group - 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.