Detach lifecycle configurations in Studio - Amazon SageMaker AI
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Detach lifecycle configurations in Studio

To detach lifecycle configurations for Code Editor, you can use either the console or the Amazon CLI. For steps on detaching lifecycle configurations from the Studio console, see Detach lifecycle configurations.

To detach a lifecycle configuration using the Amazon CLI, remove the desired lifecycle configuration from the list of lifecycle configurations attached to the resource. Then pass the list as part of the respective command:

For example, the following command removes all lifecycle configurations for the Code Editor application attached to the domain.

aws sagemaker update-domain --domain-id domain-id \ --default-user-settings '{ "CodeEditorAppSettings": { "LifecycleConfigArns": [] } }'