Class CfnStudioSessionMapping
A CloudFormation AWS::EMR::StudioSessionMapping
.
Inherited Members
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class CfnStudioSessionMapping : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnStudioSessionMapping
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::EMR::StudioSessionMapping
resource is an Amazon EMR resource type that maps a user or group to the Amazon EMR Studio specified by StudioId
, and applies a session policy that defines Studio permissions for that user or group.
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var cfnStudioSessionMapping = new CfnStudioSessionMapping(this, "MyCfnStudioSessionMapping", new CfnStudioSessionMappingProps {
IdentityName = "identityName",
IdentityType = "identityType",
SessionPolicyArn = "sessionPolicyArn",
StudioId = "studioId"
});
Synopsis
Constructors
CfnStudioSessionMapping(Construct, String, ICfnStudioSessionMappingProps) | Create a new |
CfnStudioSessionMapping(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnStudioSessionMapping(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
IdentityName | The name of the user or group. |
IdentityType | Specifies whether the identity to map to the Amazon EMR Studio is a user or a group. |
SessionPolicyArn | The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. |
StudioId | The ID of the Amazon EMR Studio to which the user or group will be mapped. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnStudioSessionMapping(Construct, String, ICfnStudioSessionMappingProps)
Create a new AWS::EMR::StudioSessionMapping
.
public CfnStudioSessionMapping(Construct scope, string id, ICfnStudioSessionMappingProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnStudioSessionMappingProps
- resource properties.
CfnStudioSessionMapping(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnStudioSessionMapping(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnStudioSessionMapping(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnStudioSessionMapping(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
IdentityName
The name of the user or group.
public virtual string IdentityName { get; set; }
Property Value
System.String
Remarks
For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference .
IdentityType
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
public virtual string IdentityType { get; set; }
Property Value
System.String
Remarks
SessionPolicyArn
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
public virtual string SessionPolicyArn { get; set; }
Property Value
System.String
Remarks
Session policies refine Studio user permissions without the need to use multiple IAM user roles. For more information, see Create an EMR Studio user role with session policies in the Amazon EMR Management Guide .
StudioId
The ID of the Amazon EMR Studio to which the user or group will be mapped.
public virtual string StudioId { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>