Detach lifecycle configurations in Studio - Amazon SageMaker AI
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Detach lifecycle configurations in Studio

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

To detach a lifecycle configuration using the AWS 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": [] } }'