Class CfnStudioProps.Builder

java.lang.Object
software.amazon.awscdk.services.emr.CfnStudioProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioProps>
Enclosing interface:
CfnStudioProps

@Stability(Stable) public static final class CfnStudioProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStudioProps>
A builder for CfnStudioProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • authMode

      @Stability(Stable) public CfnStudioProps.Builder authMode(String authMode)
      Parameters:
      authMode - Specifies whether the Studio authenticates users using IAM Identity Center or IAM. This parameter is required.
      Returns:
      this
    • defaultS3Location

      @Stability(Stable) public CfnStudioProps.Builder defaultS3Location(String defaultS3Location)
      Parameters:
      defaultS3Location - The Amazon S3 location to back up EMR Studio Workspaces and notebook files. This parameter is required.
      Returns:
      this
    • engineSecurityGroupId

      @Stability(Stable) public CfnStudioProps.Builder engineSecurityGroupId(String engineSecurityGroupId)
      Parameters:
      engineSecurityGroupId - The ID of the Amazon EMR Studio Engine security group. This parameter is required. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId .
      Returns:
      this
    • name

      @Stability(Stable) public CfnStudioProps.Builder name(String name)
      Sets the value of CfnStudioProps.getName()
      Parameters:
      name - A descriptive name for the Amazon EMR Studio. This parameter is required.
      Returns:
      this
    • serviceRole

      @Stability(Stable) public CfnStudioProps.Builder serviceRole(String serviceRole)
      Parameters:
      serviceRole - The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio. This parameter is required. The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
      Returns:
      this
    • subnetIds

      @Stability(Stable) public CfnStudioProps.Builder subnetIds(List<String> subnetIds)
      Parameters:
      subnetIds - A list of subnet IDs to associate with the Amazon EMR Studio. This parameter is required. A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by VpcId . Studio users can create a Workspace in any of the specified subnets.
      Returns:
      this
    • vpcId

      @Stability(Stable) public CfnStudioProps.Builder vpcId(String vpcId)
      Sets the value of CfnStudioProps.getVpcId()
      Parameters:
      vpcId - The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio. This parameter is required.
      Returns:
      this
    • workspaceSecurityGroupId

      @Stability(Stable) public CfnStudioProps.Builder workspaceSecurityGroupId(String workspaceSecurityGroupId)
      Parameters:
      workspaceSecurityGroupId - The ID of the Workspace security group associated with the Amazon EMR Studio. This parameter is required. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.
      Returns:
      this
    • description

      @Stability(Stable) public CfnStudioProps.Builder description(String description)
      Parameters:
      description - A detailed description of the Amazon EMR Studio.
      Returns:
      this
    • encryptionKeyArn

      @Stability(Stable) public CfnStudioProps.Builder encryptionKeyArn(String encryptionKeyArn)
      Parameters:
      encryptionKeyArn - The AWS KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
      Returns:
      this
    • idcInstanceArn

      @Stability(Stable) public CfnStudioProps.Builder idcInstanceArn(String idcInstanceArn)
      Parameters:
      idcInstanceArn - The ARN of the IAM Identity Center instance the Studio application belongs to.
      Returns:
      this
    • idcUserAssignment

      @Stability(Stable) public CfnStudioProps.Builder idcUserAssignment(String idcUserAssignment)
      Parameters:
      idcUserAssignment - Indicates whether the Studio has REQUIRED or OPTIONAL IAM Identity Center user assignment. If the value is set to REQUIRED , users must be explicitly assigned to the Studio application to access the Studio.
      Returns:
      this
    • idpAuthUrl

      @Stability(Stable) public CfnStudioProps.Builder idpAuthUrl(String idpAuthUrl)
      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 CfnStudioProps.Builder idpRelayStateParameterName(String idpRelayStateParameterName)
      Parameters:
      idpRelayStateParameterName - The name of your identity provider's RelayState parameter.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnStudioProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnStudioProps.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 CfnStudioProps.Builder trustedIdentityPropagationEnabled(Boolean trustedIdentityPropagationEnabled)
      Parameters:
      trustedIdentityPropagationEnabled - Indicates whether the Studio has Trusted identity propagation enabled. The default value is false .
      Returns:
      this
    • trustedIdentityPropagationEnabled

      @Stability(Stable) public CfnStudioProps.Builder trustedIdentityPropagationEnabled(IResolvable trustedIdentityPropagationEnabled)
      Parameters:
      trustedIdentityPropagationEnabled - Indicates whether the Studio has Trusted identity propagation enabled. The default value is false .
      Returns:
      this
    • userRole

      @Stability(Stable) public CfnStudioProps.Builder userRole(String userRole)
      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 specify UserRole when you set AuthMode to SSO .
      Returns:
      this
    • build

      @Stability(Stable) public CfnStudioProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStudioProps>
      Returns:
      a new instance of CfnStudioProps
      Throws:
      NullPointerException - if any required attribute was not provided