Class CfnStudioMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnStudioMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioMixinProps>
- Enclosing interface:
CfnStudioMixinProps
@Stability(Stable)
public static final class CfnStudioMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioMixinProps>
A builder for
CfnStudioMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStudioMixinProps.getAuthMode()build()Builds the configured instance.defaultS3Location(String defaultS3Location) Sets the value ofCfnStudioMixinProps.getDefaultS3Location()defaultS3Location(IBucketRef defaultS3Location) Sets the value ofCfnStudioMixinProps.getDefaultS3Location()description(String description) Sets the value ofCfnStudioMixinProps.getDescription()encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnStudioMixinProps.getEncryptionKeyArn()encryptionKeyArn(IKeyRef encryptionKeyArn) Sets the value ofCfnStudioMixinProps.getEncryptionKeyArn()engineSecurityGroupId(String engineSecurityGroupId) Sets the value ofCfnStudioMixinProps.getEngineSecurityGroupId()engineSecurityGroupId(ISecurityGroupRef engineSecurityGroupId) Sets the value ofCfnStudioMixinProps.getEngineSecurityGroupId()idcInstanceArn(String idcInstanceArn) Sets the value ofCfnStudioMixinProps.getIdcInstanceArn()idcUserAssignment(String idcUserAssignment) Sets the value ofCfnStudioMixinProps.getIdcUserAssignment()idpAuthUrl(String idpAuthUrl) Sets the value ofCfnStudioMixinProps.getIdpAuthUrl()idpRelayStateParameterName(String idpRelayStateParameterName) Sets the value ofCfnStudioMixinProps.getIdpRelayStateParameterName()Sets the value ofCfnStudioMixinProps.getName()serviceRole(String serviceRole) Sets the value ofCfnStudioMixinProps.getServiceRole()serviceRole(IRoleRef serviceRole) Sets the value ofCfnStudioMixinProps.getServiceRole()Sets the value ofCfnStudioMixinProps.getSubnetIds()Sets the value ofCfnStudioMixinProps.getTags()trustedIdentityPropagationEnabled(Boolean trustedIdentityPropagationEnabled) Sets the value ofCfnStudioMixinProps.getTrustedIdentityPropagationEnabled()trustedIdentityPropagationEnabled(IResolvable trustedIdentityPropagationEnabled) Sets the value ofCfnStudioMixinProps.getTrustedIdentityPropagationEnabled()Sets the value ofCfnStudioMixinProps.getUserRole()Sets the value ofCfnStudioMixinProps.getUserRole()Sets the value ofCfnStudioMixinProps.getVpcId()Sets the value ofCfnStudioMixinProps.getVpcId()workspaceSecurityGroupId(String workspaceSecurityGroupId) Sets the value ofCfnStudioMixinProps.getWorkspaceSecurityGroupId()workspaceSecurityGroupId(ISecurityGroupRef workspaceSecurityGroupId) Sets the value ofCfnStudioMixinProps.getWorkspaceSecurityGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authMode
Sets the value ofCfnStudioMixinProps.getAuthMode()- Parameters:
authMode- Specifies whether the Studio authenticates users using SSO or IAM.- Returns:
this
-
defaultS3Location
Sets the value ofCfnStudioMixinProps.getDefaultS3Location()- Parameters:
defaultS3Location- The Amazon S3 location to back up EMR Studio Workspaces and notebook files.- Returns:
this
-
defaultS3Location
@Stability(Stable) public CfnStudioMixinProps.Builder defaultS3Location(IBucketRef defaultS3Location) Sets the value ofCfnStudioMixinProps.getDefaultS3Location()- Parameters:
defaultS3Location- The Amazon S3 location to back up EMR Studio Workspaces and notebook files.- Returns:
this
-
description
Sets the value ofCfnStudioMixinProps.getDescription()- Parameters:
description- A detailed description of the Amazon EMR Studio.- Returns:
this
-
encryptionKeyArn
Sets the value ofCfnStudioMixinProps.getEncryptionKeyArn()- Parameters:
encryptionKeyArn- The AWS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.- Returns:
this
-
encryptionKeyArn
Sets the value ofCfnStudioMixinProps.getEncryptionKeyArn()- Parameters:
encryptionKeyArn- The AWS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.- Returns:
this
-
engineSecurityGroupId
@Stability(Stable) public CfnStudioMixinProps.Builder engineSecurityGroupId(String engineSecurityGroupId) Sets the value ofCfnStudioMixinProps.getEngineSecurityGroupId()- Parameters:
engineSecurityGroupId- The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified byVpcId.- Returns:
this
-
engineSecurityGroupId
@Stability(Stable) public CfnStudioMixinProps.Builder engineSecurityGroupId(ISecurityGroupRef engineSecurityGroupId) Sets the value ofCfnStudioMixinProps.getEngineSecurityGroupId()- Parameters:
engineSecurityGroupId- The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified byVpcId.- Returns:
this
-
idcInstanceArn
Sets the value ofCfnStudioMixinProps.getIdcInstanceArn()- Parameters:
idcInstanceArn- The ARN of the IAM Identity Center instance the Studio application belongs to.- Returns:
this
-
idcUserAssignment
Sets the value ofCfnStudioMixinProps.getIdcUserAssignment()- Parameters:
idcUserAssignment- Indicates whether the Studio hasREQUIREDorOPTIONALIAM Identity Center user assignment. If the value is set toREQUIRED, users must be explicitly assigned to the Studio application to access the Studio.- Returns:
this
-
idpAuthUrl
Sets the value ofCfnStudioMixinProps.getIdpAuthUrl()- Parameters:
idpAuthUrl- Your identity provider's authentication endpoint. Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.- Returns:
this
-
idpRelayStateParameterName
@Stability(Stable) public CfnStudioMixinProps.Builder idpRelayStateParameterName(String idpRelayStateParameterName) Sets the value ofCfnStudioMixinProps.getIdpRelayStateParameterName()- Parameters:
idpRelayStateParameterName- The name of your identity provider'sRelayStateparameter.- Returns:
this
-
name
Sets the value ofCfnStudioMixinProps.getName()- Parameters:
name- A descriptive name for the Amazon EMR Studio.- Returns:
this
-
serviceRole
Sets the value ofCfnStudioMixinProps.getServiceRole()- Parameters:
serviceRole- The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.- Returns:
this
-
serviceRole
Sets the value ofCfnStudioMixinProps.getServiceRole()- Parameters:
serviceRole- The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.- Returns:
this
-
subnetIds
Sets the value ofCfnStudioMixinProps.getSubnetIds()- Parameters:
subnetIds- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified byVpcId. Studio users can create a Workspace in any of the specified subnets.- Returns:
this
-
tags
Sets the value ofCfnStudioMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
trustedIdentityPropagationEnabled
@Stability(Stable) public CfnStudioMixinProps.Builder trustedIdentityPropagationEnabled(Boolean trustedIdentityPropagationEnabled) Sets the value ofCfnStudioMixinProps.getTrustedIdentityPropagationEnabled()- Parameters:
trustedIdentityPropagationEnabled- Indicates whether the Studio has Trusted identity propagation enabled. The default value isfalse.- Returns:
this
-
trustedIdentityPropagationEnabled
@Stability(Stable) public CfnStudioMixinProps.Builder trustedIdentityPropagationEnabled(IResolvable trustedIdentityPropagationEnabled) Sets the value ofCfnStudioMixinProps.getTrustedIdentityPropagationEnabled()- Parameters:
trustedIdentityPropagationEnabled- Indicates whether the Studio has Trusted identity propagation enabled. The default value isfalse.- Returns:
this
-
userRole
Sets the value ofCfnStudioMixinProps.getUserRole()- Parameters:
userRole- The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies. You only need to specifyUserRolewhen you setAuthModetoSSO.- Returns:
this
-
userRole
Sets the value ofCfnStudioMixinProps.getUserRole()- Parameters:
userRole- The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio. The permissions attached to this IAM role can be scoped down for each user or group using session policies. You only need to specifyUserRolewhen you setAuthModetoSSO.- Returns:
this
-
vpcId
Sets the value ofCfnStudioMixinProps.getVpcId()- Parameters:
vpcId- The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.- Returns:
this
-
vpcId
Sets the value ofCfnStudioMixinProps.getVpcId()- Parameters:
vpcId- The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.- Returns:
this
-
workspaceSecurityGroupId
@Stability(Stable) public CfnStudioMixinProps.Builder workspaceSecurityGroupId(String workspaceSecurityGroupId) Sets the value ofCfnStudioMixinProps.getWorkspaceSecurityGroupId()- Parameters:
workspaceSecurityGroupId- The ID of the Workspace security group associated with the Amazon EMR Studio. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.- Returns:
this
-
workspaceSecurityGroupId
@Stability(Stable) public CfnStudioMixinProps.Builder workspaceSecurityGroupId(ISecurityGroupRef workspaceSecurityGroupId) Sets the value ofCfnStudioMixinProps.getWorkspaceSecurityGroupId()- Parameters:
workspaceSecurityGroupId- The ID of the Workspace security group associated with the Amazon EMR Studio. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStudioMixinProps>- Returns:
- a new instance of
CfnStudioMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-