aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::Sagemaker::StudioLifecycleConfiguration (Lifecycle Configuration for Sagemaker Studio Notebooks)

Open
#1,132 7 comments 16 reactions 0 assignees View on GitHub
enhancement NewResource
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

Other

### Resource name

AWS::Sagemaker::StudioLifecycleConfiguration

### Description

Resource for supporting Lifecycle Configuration management on Sagemaker Studio Notebooks. Lifecycle configuration is vital to control SageMaker studio spend via auto-idle shutdown or for configuration and automated integration of private package management and git repositories especially in larger deployments across many AWS Accounts.

This resource type needs to provide the ability to attach lifecycle configuration to both the jupyter server or an image kernel and at the user level or at the domain wide-level (all users). Package command support, drift detection and resource import would be great bonuses!

Suggested Structure:

```yaml
StudioLifecycleConfiguration:
Type: AWS::Sagemaker::StudioLifecycleConfiguration
Properties:
DomainId:
Scope: [ Domain | User ]
Type: [ Server | Kernel ]
Name:
Script:

```

### Other Details

Sagemaker Studio Lifecycle Management APIs:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/create-studio-lifecycle-config.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/describe-studio-lifecycle-config.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/delete-studio-lifecycle-config.html

Attachment/Detachment against Sagemaker Studio Domain:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sagemaker/update-domain.html

Lifecycle Configuration Examples provided by AWS:
https://github.com/aws-samples/sagemaker-studio-lifecycle-config-examples

General overview of Studio Lifecycle Configuraiton:
https://aws.amazon.com/blogs/machine-learning/customize-amazon-sagemaker-studio-using-lifecycle-configurations/

Contributor guide

Open the contributing guide

Research direction

Start with the linked SageMaker create, describe, and delete Studio lifecycle configuration API docs and the update-domain API, then compare the AWS lifecycle configuration examples. Define the resource around the proposed DomainId, Scope, Type, Name, and Script properties; completion should cover lifecycle configuration attachment behavior, with package commands, drift detection, and import as optional bonuses.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.