Class CfnStudioSessionMapping
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.
Inherited Members
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStudioSessionMapping : CfnResource, IInspectable, IStudioSessionMappingRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnStudioSessionMapping Inherits CfnResource Implements IInspectable, IStudioSessionMappingRef, IConstruct, IDependable, IEnvironmentAware
Remarks
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 |
Properties
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | The |
| 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. |
| StudioSessionMappingRef | A reference to a StudioSessionMapping resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnStudioSessionMapping(object) | Checks whether the given object is a CfnStudioSessionMapping. |
| RenderProperties(IDictionary<string, object>) | The |
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 string
Construct identifier for this resource (unique in its scope).
- props ICfnStudioSessionMappingProps
Resource properties.
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
CfnProperties
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.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
IdentityName
The name of the user or group.
public virtual string IdentityName { get; set; }
Property Value
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
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
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
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
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
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
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
StudioSessionMappingRef
A reference to a StudioSessionMapping resource.
public virtual IStudioSessionMappingReference StudioSessionMappingRef { get; }
Property Value
IStudioSessionMappingReference
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
IsCfnStudioSessionMapping(object)
Checks whether the given object is a CfnStudioSessionMapping.
public static bool IsCfnStudioSessionMapping(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
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.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::EMR::StudioSessionMapping
ExampleMetadata: fixture=_generated