interface CfnAppProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnAppProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnAppProps |
Java | software.amazon.awscdk.services.sagemaker.CfnAppProps |
Python | aws_cdk.aws_sagemaker.CfnAppProps |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnAppProps |
Properties for defining a CfnApp
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnAppProps: sagemaker.CfnAppProps = {
appName: 'appName',
appType: 'appType',
domainId: 'domainId',
userProfileName: 'userProfileName',
// the properties below are optional
resourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
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 | IResolvable | Resource | 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.
domainId
Type:
string
The domain ID.
userProfileName
Type:
string
The user profile name.
resourceSpec?
Type:
IResolvable
|
Resource
(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 .