

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::InferenceComponent Alarm
<a name="aws-properties-sagemaker-inferencecomponent-alarm"></a>

An Amazon CloudWatch alarm configured to monitor metrics on an endpoint.

## Syntax
<a name="aws-properties-sagemaker-inferencecomponent-alarm-syntax"></a>

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

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

```
{
  "[AlarmName](#cfn-sagemaker-inferencecomponent-alarm-alarmname)" : String
}
```

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

```
  [AlarmName](#cfn-sagemaker-inferencecomponent-alarm-alarmname): String
```

## Properties
<a name="aws-properties-sagemaker-inferencecomponent-alarm-properties"></a>

`AlarmName`  <a name="cfn-sagemaker-inferencecomponent-alarm-alarmname"></a>
The name of a CloudWatch alarm in your account.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(?!\s*$).+`  
*Minimum*: `1`  
*Maximum*: `255`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)