AWS::SageMaker::StudioLifecycleConfig - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::SageMaker::StudioLifecycleConfig

Creates a new Amazon SageMaker AI Studio Lifecycle Configuration.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::SageMaker::StudioLifecycleConfig", "Properties" : { "StudioLifecycleConfigAppType" : String, "StudioLifecycleConfigContent" : String, "StudioLifecycleConfigName" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::SageMaker::StudioLifecycleConfig Properties: StudioLifecycleConfigAppType: String StudioLifecycleConfigContent: String StudioLifecycleConfigName: String Tags: - Tag

Properties

StudioLifecycleConfigAppType

The App type to which the Lifecycle Configuration is attached.

Required: Yes

Type: String

Allowed values: JupyterServer | KernelGateway | CodeEditor | JupyterLab

Update requires: Replacement

StudioLifecycleConfigContent

The content of your Amazon SageMaker AI Studio Lifecycle Configuration script. This content must be base64 encoded.

Required: Yes

Type: String

Pattern: [\S\s]+

Minimum: 1

Maximum: 16384

Update requires: Replacement

StudioLifecycleConfigName

The name of the Amazon SageMaker AI Studio Lifecycle Configuration.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}

Minimum: 1

Maximum: 63

Update requires: Replacement

Tags

Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.

Required: No

Type: Array of Tag

Minimum: 0

Maximum: 50

Update requires: Replacement

Return values

Ref

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

StudioLifecycleConfigArn

The Amazon Resource Name (ARN) of the Lifecycle Configuration.