@Stability(value=Stable) public static final class CfnStudioSessionMappingProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStudioSessionMappingProps>
CfnStudioSessionMappingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStudioSessionMappingProps |
build()
Builds the configured instance.
|
CfnStudioSessionMappingProps.Builder |
identityName(String identityName)
Sets the value of
CfnStudioSessionMappingProps.getIdentityName() |
CfnStudioSessionMappingProps.Builder |
identityType(String identityType)
Sets the value of
CfnStudioSessionMappingProps.getIdentityType() |
CfnStudioSessionMappingProps.Builder |
sessionPolicyArn(String sessionPolicyArn)
Sets the value of
CfnStudioSessionMappingProps.getSessionPolicyArn() |
CfnStudioSessionMappingProps.Builder |
studioId(String studioId)
Sets the value of
CfnStudioSessionMappingProps.getStudioId() |
@Stability(value=Stable) public CfnStudioSessionMappingProps.Builder identityName(String identityName)
CfnStudioSessionMappingProps.getIdentityName()identityName - The name of the user or group. This parameter is required.
For more information, see UserName and DisplayName in the AWS SSO Identity Store API Reference .this@Stability(value=Stable) public CfnStudioSessionMappingProps.Builder identityType(String identityType)
CfnStudioSessionMappingProps.getIdentityType()identityType - Specifies whether the identity to map to the Amazon EMR Studio is a user or a group. This parameter is required.this@Stability(value=Stable) public CfnStudioSessionMappingProps.Builder sessionPolicyArn(String sessionPolicyArn)
CfnStudioSessionMappingProps.getSessionPolicyArn()sessionPolicyArn - The Amazon Resource Name (ARN) for the session policy that will be applied to the user or group. This parameter is required.
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 .this@Stability(value=Stable) public CfnStudioSessionMappingProps.Builder studioId(String studioId)
CfnStudioSessionMappingProps.getStudioId()studioId - The ID of the Amazon EMR Studio to which the user or group will be mapped. This parameter is required.this@Stability(value=Stable) public CfnStudioSessionMappingProps build()
build in interface software.amazon.jsii.Builder<CfnStudioSessionMappingProps>CfnStudioSessionMappingPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.