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
This property is required. string - The unique name of the resource.
- args
This property is required. StudioSessionMappingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. StudioSessionMappingArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. StudioSessionMappingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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:
- Identity
Name This property is required. 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 This property is required. 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 Arn This property is required. 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 This property is required. string - The ID of the Amazon EMR Studio to which the user or group will be mapped.
- Identity
Name This property is required. 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 This property is required. StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- Session
Policy Arn This property is required. 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 This property is required. string - The ID of the Amazon EMR Studio to which the user or group will be mapped.
- identity
Name This property is required. 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 This property is required. StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- session
Policy Arn This property is required. 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 This property is required. String - The ID of the Amazon EMR Studio to which the user or group will be mapped.
- identity
Name This property is required. 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 This property is required. StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- session
Policy Arn This property is required. 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 This property is required. string - The ID of the Amazon EMR Studio to which the user or group will be mapped.
- identity_
name This property is required. 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 This property is required. StudioSession Mapping Identity Type - Specifies whether the identity to map to the Studio is a user or a group.
- session_
policy_ arn This property is required. 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 This property is required. str - The ID of the Amazon EMR Studio to which the user or group will be mapped.
- identity
Name This property is required. 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 This property is required. "USER" | "GROUP" - Specifies whether the identity to map to the Studio is a user or a group.
- session
Policy Arn This property is required. 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 This property is required. 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.