aws-cdk-lib.aws_sagemaker.CfnAppProps

interface CfnAppProps

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnAppProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnAppProps
Javasoftware.amazon.awscdk.services.sagemaker.CfnAppProps
Pythonaws_cdk.aws_sagemaker.CfnAppProps
TypeScript aws-cdk-lib » 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 { 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',
    sageMakerImageArn: 'sageMakerImageArn',
    sageMakerImageVersionArn: 'sageMakerImageVersionArn',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
appNamestringThe name of the app.
appTypestringThe type of app.
domainIdstringThe domain ID.
userProfileNamestringThe user profile name.
resourceSpec?IResolvable | ResourceSpecPropertySpecifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
tags?CfnTag[]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: IResolvable | ResourceSpecProperty (optional)

Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.


tags?

Type: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .