Class CfnStudioSessionMappingPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnStudioSessionMappingPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioSessionMappingPropsMixin>
- Enclosing class:
CfnStudioSessionMappingPropsMixin
@Stability(Stable)
public static final class CfnStudioSessionMappingPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioSessionMappingPropsMixin>
A fluent builder for
CfnStudioSessionMappingPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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.sessionPolicyArn(IManagedPolicyRef 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.studioId(IStudioRef studioId) The ID of the Amazon EMR Studio to which the user or group will be mapped.
-
Method Details
-
create
@Stability(Stable) public static CfnStudioSessionMappingPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStudioSessionMappingPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStudioSessionMappingPropsMixin.Builder.
-
identityName
@Stability(Stable) public CfnStudioSessionMappingPropsMixin.Builder identityName(String identityName) The name of the user or group.For more information, see UserName and DisplayName in the Identity Store API Reference .
- Parameters:
identityName- The name of the user or group. This parameter is required.- Returns:
this- See Also:
-
identityType
@Stability(Stable) public CfnStudioSessionMappingPropsMixin.Builder identityType(String 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
@Stability(Stable) public CfnStudioSessionMappingPropsMixin.Builder sessionPolicyArn(String 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:
-
sessionPolicyArn
@Stability(Stable) public CfnStudioSessionMappingPropsMixin.Builder sessionPolicyArn(IManagedPolicyRef 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:
-
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:
buildin interfacesoftware.amazon.jsii.Builder<CfnStudioSessionMappingPropsMixin>- Returns:
- a newly built instance of
CfnStudioSessionMappingPropsMixin.
-