Interface CfnAppProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.083Z")
@Stability(Stable)
public interface CfnAppProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApp.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnAppProps cfnAppProps = CfnAppProps.builder()
.appName("appName")
.appType("appType")
.domainId("domainId")
.userProfileName("userProfileName")
// the properties below are optional
.resourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAppPropsstatic final classAn implementation forCfnAppProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAppProps.Builderbuilder()The name of the app.The type of app.The domain ID.default ObjectSpecifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.getTags()An array of key-value pairs to apply to this resource.The user profile name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppName
The name of the app. -
getAppType
The type of app.Allowed Values :
JupyterServer | KernelGateway | RSessionGateway | RStudioServerPro | TensorBoard | Canvas -
getDomainId
The domain ID. -
getUserProfileName
The user profile name. -
getResourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnAppProps.BuilderofCfnAppProps
-