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

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.emr.StudioSessionMapping

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    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:

    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    studioId 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
    StudioSessionMappingIdentityTypeUser
    USER
    StudioSessionMappingIdentityTypeGroup
    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
    aws-native logo

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

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi