Class CfnStudioSessionMapping.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnStudioSessionMapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioSessionMapping>
- Enclosing class:
CfnStudioSessionMapping
@Stability(Stable)
public static final class CfnStudioSessionMapping.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioSessionMapping>
A fluent builder for
CfnStudioSessionMapping
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
identityName
(String identityName) The name of the user or group.identityType
(String identityType) Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.sessionPolicyArn
(String sessionPolicyArn) The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.The ID of the Amazon EMR Studio to which the user or group will be mapped.
-
Method Details
-
create
@Stability(Stable) public static CfnStudioSessionMapping.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnStudioSessionMapping.Builder
.
-
identityName
The name of the user or group.For more information, see UserName and DisplayName in the IAM Identity Center Identity Store API Reference .
- Parameters:
identityName
- The name of the user or group. This parameter is required.- Returns:
this
- See Also:
-
identityType
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.- Parameters:
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group. This parameter is required.- Returns:
this
- See Also:
-
sessionPolicyArn
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. For more information, see Create an EMR Studio user role with session policies in the Amazon EMR Management Guide .
- Parameters:
sessionPolicyArn
- The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. This parameter is required.- Returns:
this
- See Also:
-
studioId
The ID of the Amazon EMR Studio to which the user or group will be mapped.- Parameters:
studioId
- The ID of the Amazon EMR Studio to which the user or group will be mapped. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStudioSessionMapping>
- Returns:
- a newly built instance of
CfnStudioSessionMapping
.
-