interface CfnAppProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnAppProps |
![]() | software.amazon.awscdk.services.sagemaker.CfnAppProps |
![]() | aws_cdk.aws_sagemaker.CfnAppProps |
![]() | @aws-cdk/aws-sagemaker » CfnAppProps |
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 * as sagemaker from '@aws-cdk/aws-sagemaker';
const cfnAppProps: sagemaker.CfnAppProps = {
appName: 'appName',
appType: 'appType',
domainId: 'domainId',
userProfileName: 'userProfileName',
// the properties below are optional
resourceSpec: {
instanceType: 'instanceType',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
app | string | The name of the app. |
app | string | The type of app. |
domain | string | The domain ID. |
user | string | The user profile name. |
resource | Resource | IResolvable | Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
appName
Type:
string
The name of the app.
appType
Type:
string
The type of app.
Allowed Values : JupyterServer | KernelGateway | RSessionGateway | RStudioServerPro | TensorBoard | Canvas
domainId
Type:
string
The domain ID.
userProfileName
Type:
string
The user profile name.
resourceSpec?
Type:
Resource
|
IResolvable
(optional)
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .