

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::IoTEvents::AlarmModel IotEvents
<a name="aws-properties-iotevents-alarmmodel-iotevents"></a>

Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.

## Syntax
<a name="aws-properties-iotevents-alarmmodel-iotevents-syntax"></a>

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

### JSON
<a name="aws-properties-iotevents-alarmmodel-iotevents-syntax.json"></a>

```
{
  "[InputName](#cfn-iotevents-alarmmodel-iotevents-inputname)" : {{String}},
  "[Payload](#cfn-iotevents-alarmmodel-iotevents-payload)" : {{Payload}}
}
```

### YAML
<a name="aws-properties-iotevents-alarmmodel-iotevents-syntax.yaml"></a>

```
  [InputName](#cfn-iotevents-alarmmodel-iotevents-inputname): {{String}}
  [Payload](#cfn-iotevents-alarmmodel-iotevents-payload): {{
    Payload}}
```

## Properties
<a name="aws-properties-iotevents-alarmmodel-iotevents-properties"></a>

`InputName`  <a name="cfn-iotevents-alarmmodel-iotevents-inputname"></a>
The name of the AWS IoT Events input where the data is sent.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z][a-zA-Z0-9_]*$`  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Payload`  <a name="cfn-iotevents-alarmmodel-iotevents-payload"></a>
You can configure the action payload when you send a message to an AWS IoT Events input.  
*Required*: No  
*Type*: [Payload](aws-properties-iotevents-alarmmodel-payload.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)