

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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::SageMaker::StudioLifecycleConfig Tag
<a name="aws-properties-sagemaker-studiolifecycleconfig-tag"></a>

A tag object that consists of a key and an optional value, used to manage metadata for SageMaker AWS resources.

You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see [AddTags](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AddTags.html).

For more information on adding metadata to your AWS resources with tagging, see [Tagging AWS resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). For advice on best practices for managing AWS resources with tagging, see [Tagging Best Practices: Implement an Effective AWS Resource Tagging Strategy](https://d1.awsstatic.com/whitepapers/aws-tagging-best-practices.pdf).

## Syntax
<a name="aws-properties-sagemaker-studiolifecycleconfig-tag-syntax"></a>

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

### JSON
<a name="aws-properties-sagemaker-studiolifecycleconfig-tag-syntax.json"></a>

```
{
  "[Key](#cfn-sagemaker-studiolifecycleconfig-tag-key)" : String,
  "[Value](#cfn-sagemaker-studiolifecycleconfig-tag-value)" : String
}
```

### YAML
<a name="aws-properties-sagemaker-studiolifecycleconfig-tag-syntax.yaml"></a>

```
  [Key](#cfn-sagemaker-studiolifecycleconfig-tag-key): String
  [Value](#cfn-sagemaker-studiolifecycleconfig-tag-value): String
```

## Properties
<a name="aws-properties-sagemaker-studiolifecycleconfig-tag-properties"></a>

`Key`  <a name="cfn-sagemaker-studiolifecycleconfig-tag-key"></a>
The tag key. Tag keys must be unique per resource.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Value`  <a name="cfn-sagemaker-studiolifecycleconfig-tag-value"></a>
The tag value.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)