AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::SageMaker::App

CfnApp

Creates a running app for the specified UserProfile. This operation is automatically invoked by Amazon SageMaker AI upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

Import

import { CfnApp } from 'aws-cdk-lib/aws-sagemaker';

Or use the module namespace:

import * as sagemaker from 'aws-cdk-lib/aws-sagemaker';
// sagemaker.CfnApp

Properties

Configuration passed to the constructor as CfnAppProps.

appNameRequired
string

The name of the app.

appTypeRequired
string

The type of app.

domainIdRequired
string

The domain ID.

userProfileNameRequired
string

The user profile name.

recoveryModeOptional
boolean | IResolvable

Indicates whether the application is launched in recovery mode.

resourceSpecOptional
IResolvable | ResourceSpecProperty

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

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter