Class CfnApp.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnApp.Builder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.The type of app.build()
static CfnApp.Builder
The domain ID.recoveryMode
(Boolean recoveryMode) Indicates whether the application is launched in recovery mode.recoveryMode
(IResolvable recoveryMode) Indicates whether the application is launched in recovery mode.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
@Stability(Stable) public static CfnApp.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
appType
The type of app.- Parameters:
appType
- The type of app. This parameter is required.- Returns:
this
- See Also:
-
domainId
The domain ID.- Parameters:
domainId
- The domain ID. This parameter is required.- Returns:
this
- See Also:
-
userProfileName
The user profile name.- Parameters:
userProfileName
- The user profile name. This parameter is required.- Returns:
this
- See Also:
-
recoveryMode
Indicates whether the application is launched in recovery mode.- Parameters:
recoveryMode
- Indicates whether the application is launched in recovery mode. This parameter is required.- Returns:
this
- See Also:
-
recoveryMode
Indicates whether the application is launched in recovery mode.- Parameters:
recoveryMode
- Indicates whether the application is launched in recovery mode. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
-