public static final class CfnStudioSessionMapping.Builder
extends java.lang.Object
CfnStudioSessionMapping
.Modifier and Type | Method and Description |
---|---|
CfnStudioSessionMapping |
build() |
static CfnStudioSessionMapping.Builder |
create(Construct scope,
java.lang.String id) |
CfnStudioSessionMapping.Builder |
identityName(java.lang.String identityName)
The name of the user or group.
|
CfnStudioSessionMapping.Builder |
identityType(java.lang.String identityType)
Specifies whether the identity to map to the Amazon EMR Studio is a user or a group.
|
CfnStudioSessionMapping.Builder |
sessionPolicyArn(java.lang.String sessionPolicyArn)
The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group.
|
CfnStudioSessionMapping.Builder |
studioId(java.lang.String studioId)
The ID of the Amazon EMR Studio to which the user or group will be mapped.
|
public static CfnStudioSessionMapping.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnStudioSessionMapping.Builder
.public CfnStudioSessionMapping.Builder identityName(java.lang.String identityName)
For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference .
identityName
- The name of the user or group. This parameter is required.this
public CfnStudioSessionMapping.Builder identityType(java.lang.String identityType)
identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user or a group. This parameter is required.this
public CfnStudioSessionMapping.Builder sessionPolicyArn(java.lang.String sessionPolicyArn)
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 .
sessionPolicyArn
- The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. This parameter is required.this
public CfnStudioSessionMapping.Builder studioId(java.lang.String studioId)
studioId
- The ID of the Amazon EMR Studio to which the user or group will be mapped. This parameter is required.this
public CfnStudioSessionMapping build()