Class CfnApp.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnApp.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApp>
- Enclosing class:
CfnApp
@Stability(Stable)
public static final class CfnApp.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApp>
A fluent builder for
CfnApp
.-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.The type of app.build()
static CfnApp.Builder
The domain ID.resourceSpec
(IResolvable resourceSpec) Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.resourceSpec
(CfnApp.ResourceSpecProperty resourceSpec) Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.An array of key-value pairs to apply to this resource.userProfileName
(String userProfileName) The user profile name.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnApp.Builder
.
-
appName
The name of the app.- Parameters:
appName
- The name of the app. This parameter is required.- Returns:
this
-
appType
The type of app.Allowed Values :
JupyterServer | KernelGateway | RSessionGateway | RStudioServerPro | TensorBoard | Canvas
- Parameters:
appType
- The type of app. This parameter is required.- Returns:
this
-
domainId
The domain ID.- Parameters:
domainId
- The domain ID. This parameter is required.- Returns:
this
-
userProfileName
The user profile name.- Parameters:
userProfileName
- The user profile name. This parameter is required.- Returns:
this
-
resourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Parameters:
resourceSpec
- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. This parameter is required.- Returns:
this
-
resourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Parameters:
resourceSpec
- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
-