CfnStudioSessionMappingPropsMixin

class aws_cdk.mixins_preview.aws_emr.mixins.CfnStudioSessionMappingPropsMixin(props, *, strategy=None)

Bases: Mixin

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html

CloudformationResource:

AWS::EMR::StudioSessionMapping

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_emr import mixins as emr_mixins

cfn_studio_session_mapping_props_mixin = emr_mixins.CfnStudioSessionMappingPropsMixin(emr_mixins.CfnStudioSessionMappingMixinProps(
    identity_name="identityName",
    identity_type="identityType",
    session_policy_arn="sessionPolicyArn",
    studio_id="studioId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::EMR::StudioSessionMapping.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['identityName', 'identityType', 'sessionPolicyArn', 'studioId']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental