AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotevents.AlarmModel
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::IoTEvents::AlarmModel resource creates a alarm model. AWS IoT Events alarms help you monitor your data for changes. The data can be metrics that you measure for your equipment and processes. You can create alarms that send notifications when a threshold is breached. Alarms help you detect issues, streamline maintenance, and optimize performance of your equipment and processes.
Alarms are instances of alarm models. The alarm model specifies what to detect, when to send notifications, who gets notified, and more. You can also specify one or more supported actions that occur when the alarm state changes. AWS IoT Events routes input attributes derived from your data to the appropriate alarms. If the data that you’re monitoring is outside the specified range, the alarm is invoked. You can also acknowledge the alarms or set them to the snooze mode.
Create AlarmModel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlarmModel(name: string, args: AlarmModelArgs, opts?: CustomResourceOptions);
@overload
def AlarmModel(resource_name: str,
args: AlarmModelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlarmModel(resource_name: str,
opts: Optional[ResourceOptions] = None,
alarm_rule: Optional[AlarmModelAlarmRuleArgs] = None,
role_arn: Optional[str] = None,
alarm_capabilities: Optional[AlarmModelAlarmCapabilitiesArgs] = None,
alarm_event_actions: Optional[AlarmModelAlarmEventActionsArgs] = None,
alarm_model_description: Optional[str] = None,
alarm_model_name: Optional[str] = None,
key: Optional[str] = None,
severity: Optional[int] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewAlarmModel(ctx *Context, name string, args AlarmModelArgs, opts ...ResourceOption) (*AlarmModel, error)
public AlarmModel(string name, AlarmModelArgs args, CustomResourceOptions? opts = null)
public AlarmModel(String name, AlarmModelArgs args)
public AlarmModel(String name, AlarmModelArgs args, CustomResourceOptions options)
type: aws-native:iotevents:AlarmModel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlarmModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlarmModelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlarmModelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlarmModelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AlarmModel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AlarmModel resource accepts the following input properties:
- Alarm
Rule Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Alarm Rule - Defines when your alarm is invoked.
- Role
Arn string - The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- Alarm
Capabilities Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Alarm Capabilities - Contains the configuration information of alarm state changes.
- Alarm
Event Pulumi.Actions Aws Native. Io TEvents. Inputs. Alarm Model Alarm Event Actions - Contains information about one or more alarm actions.
- Alarm
Model stringDescription - A brief description of the alarm model.
- Alarm
Model stringName - The name of the alarm model.
- Key string
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
- Severity int
- A non-negative integer that reflects the severity level of the alarm.
- List<Pulumi.
Aws Native. Inputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag.
- Alarm
Rule AlarmModel Alarm Rule Args - Defines when your alarm is invoked.
- Role
Arn string - The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- Alarm
Capabilities AlarmModel Alarm Capabilities Args - Contains the configuration information of alarm state changes.
- Alarm
Event AlarmActions Model Alarm Event Actions Args - Contains information about one or more alarm actions.
- Alarm
Model stringDescription - A brief description of the alarm model.
- Alarm
Model stringName - The name of the alarm model.
- Key string
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
- Severity int
- A non-negative integer that reflects the severity level of the alarm.
- Tag
Args An array of key-value pairs to apply to this resource.
For more information, see Tag.
- alarm
Rule AlarmModel Alarm Rule - Defines when your alarm is invoked.
- role
Arn String - The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- alarm
Capabilities AlarmModel Alarm Capabilities - Contains the configuration information of alarm state changes.
- alarm
Event AlarmActions Model Alarm Event Actions - Contains information about one or more alarm actions.
- alarm
Model StringDescription - A brief description of the alarm model.
- alarm
Model StringName - The name of the alarm model.
- key String
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
- severity Integer
- A non-negative integer that reflects the severity level of the alarm.
- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- alarm
Rule AlarmModel Alarm Rule - Defines when your alarm is invoked.
- role
Arn string - The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- alarm
Capabilities AlarmModel Alarm Capabilities - Contains the configuration information of alarm state changes.
- alarm
Event AlarmActions Model Alarm Event Actions - Contains information about one or more alarm actions.
- alarm
Model stringDescription - A brief description of the alarm model.
- alarm
Model stringName - The name of the alarm model.
- key string
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
- severity number
- A non-negative integer that reflects the severity level of the alarm.
- Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- alarm_
rule AlarmModel Alarm Rule Args - Defines when your alarm is invoked.
- role_
arn str - The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- alarm_
capabilities AlarmModel Alarm Capabilities Args - Contains the configuration information of alarm state changes.
- alarm_
event_ Alarmactions Model Alarm Event Actions Args - Contains information about one or more alarm actions.
- alarm_
model_ strdescription - A brief description of the alarm model.
- alarm_
model_ strname - The name of the alarm model.
- key str
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
- severity int
- A non-negative integer that reflects the severity level of the alarm.
- Sequence[Tag
Args] An array of key-value pairs to apply to this resource.
For more information, see Tag.
- alarm
Rule Property Map - Defines when your alarm is invoked.
- role
Arn String - The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- alarm
Capabilities Property Map - Contains the configuration information of alarm state changes.
- alarm
Event Property MapActions - Contains information about one or more alarm actions.
- alarm
Model StringDescription - A brief description of the alarm model.
- alarm
Model StringName - The name of the alarm model.
- key String
The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
- severity Number
- A non-negative integer that reflects the severity level of the alarm.
- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlarmModel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AlarmModelAcknowledgeFlow, AlarmModelAcknowledgeFlowArgs
- Enabled bool
- The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
- Enabled bool
- The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
- enabled Boolean
- The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
- enabled boolean
- The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
- enabled bool
- The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
- enabled Boolean
- The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.
AlarmModelAlarmAction, AlarmModelAlarmActionArgs
- Dynamo
DBv2 Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Dynamo DBv2 - Dynamo
Db Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Dynamo Db - Firehose
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Firehose - Iot
Events Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Iot Events - Iot
Site Pulumi.Wise Aws Native. Io TEvents. Inputs. Alarm Model Iot Site Wise - Iot
Topic Pulumi.Publish Aws Native. Io TEvents. Inputs. Alarm Model Iot Topic Publish - Lambda
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Lambda - Sns
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Sns - Sqs
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Sqs
AlarmModelAlarmCapabilities, AlarmModelAlarmCapabilitiesArgs
- Acknowledge
Flow Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Acknowledge Flow - Specifies whether to get notified for alarm state changes.
- Initialization
Configuration Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Initialization Configuration - Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
- Acknowledge
Flow AlarmModel Acknowledge Flow - Specifies whether to get notified for alarm state changes.
- Initialization
Configuration AlarmModel Initialization Configuration - Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
- acknowledge
Flow AlarmModel Acknowledge Flow - Specifies whether to get notified for alarm state changes.
- initialization
Configuration AlarmModel Initialization Configuration - Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
- acknowledge
Flow AlarmModel Acknowledge Flow - Specifies whether to get notified for alarm state changes.
- initialization
Configuration AlarmModel Initialization Configuration - Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
- acknowledge_
flow AlarmModel Acknowledge Flow - Specifies whether to get notified for alarm state changes.
- initialization_
configuration AlarmModel Initialization Configuration - Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
- acknowledge
Flow Property Map - Specifies whether to get notified for alarm state changes.
- initialization
Configuration Property Map - Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.
AlarmModelAlarmEventActions, AlarmModelAlarmEventActionsArgs
- Alarm
Actions List<Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Alarm Action> - Specifies one or more supported actions to receive notifications when the alarm state changes.
- Alarm
Actions []AlarmModel Alarm Action - Specifies one or more supported actions to receive notifications when the alarm state changes.
- alarm
Actions List<AlarmModel Alarm Action> - Specifies one or more supported actions to receive notifications when the alarm state changes.
- alarm
Actions AlarmModel Alarm Action[] - Specifies one or more supported actions to receive notifications when the alarm state changes.
- alarm_
actions Sequence[AlarmModel Alarm Action] - Specifies one or more supported actions to receive notifications when the alarm state changes.
- alarm
Actions List<Property Map> - Specifies one or more supported actions to receive notifications when the alarm state changes.
AlarmModelAlarmRule, AlarmModelAlarmRuleArgs
- Simple
Rule Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Simple Rule - A rule that compares an input property value to a threshold value with a comparison operator.
- Simple
Rule AlarmModel Simple Rule - A rule that compares an input property value to a threshold value with a comparison operator.
- simple
Rule AlarmModel Simple Rule - A rule that compares an input property value to a threshold value with a comparison operator.
- simple
Rule AlarmModel Simple Rule - A rule that compares an input property value to a threshold value with a comparison operator.
- simple_
rule AlarmModel Simple Rule - A rule that compares an input property value to a threshold value with a comparison operator.
- simple
Rule Property Map - A rule that compares an input property value to a threshold value with a comparison operator.
AlarmModelAssetPropertyTimestamp, AlarmModelAssetPropertyTimestampArgs
- Time
In stringSeconds - The nanosecond offset converted from
timeInSeconds
. The valid range is between0-999999999
. You can also specify an expression. - Offset
In stringNanos - The timestamp, in seconds, in the Unix epoch format. The valid range is between
1-31556889864403199
. You can also specify an expression.
- Time
In stringSeconds - The nanosecond offset converted from
timeInSeconds
. The valid range is between0-999999999
. You can also specify an expression. - Offset
In stringNanos - The timestamp, in seconds, in the Unix epoch format. The valid range is between
1-31556889864403199
. You can also specify an expression.
- time
In StringSeconds - The nanosecond offset converted from
timeInSeconds
. The valid range is between0-999999999
. You can also specify an expression. - offset
In StringNanos - The timestamp, in seconds, in the Unix epoch format. The valid range is between
1-31556889864403199
. You can also specify an expression.
- time
In stringSeconds - The nanosecond offset converted from
timeInSeconds
. The valid range is between0-999999999
. You can also specify an expression. - offset
In stringNanos - The timestamp, in seconds, in the Unix epoch format. The valid range is between
1-31556889864403199
. You can also specify an expression.
- time_
in_ strseconds - The nanosecond offset converted from
timeInSeconds
. The valid range is between0-999999999
. You can also specify an expression. - offset_
in_ strnanos - The timestamp, in seconds, in the Unix epoch format. The valid range is between
1-31556889864403199
. You can also specify an expression.
- time
In StringSeconds - The nanosecond offset converted from
timeInSeconds
. The valid range is between0-999999999
. You can also specify an expression. - offset
In StringNanos - The timestamp, in seconds, in the Unix epoch format. The valid range is between
1-31556889864403199
. You can also specify an expression.
AlarmModelAssetPropertyValue, AlarmModelAssetPropertyValueArgs
- Value
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Asset Property Variant - Quality string
- The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression. - Timestamp
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Asset Property Timestamp
- Value
Alarm
Model Asset Property Variant - Quality string
- The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression. - Timestamp
Alarm
Model Asset Property Timestamp
- value
Alarm
Model Asset Property Variant - quality String
- The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression. - timestamp
Alarm
Model Asset Property Timestamp
- value
Alarm
Model Asset Property Variant - quality string
- The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression. - timestamp
Alarm
Model Asset Property Timestamp
- value
Alarm
Model Asset Property Variant - quality str
- The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression. - timestamp
Alarm
Model Asset Property Timestamp
- value Property Map
- quality String
- The quality of the asset property value. The value must be
GOOD
,BAD
, orUNCERTAIN
. You can also specify an expression. - timestamp Property Map
AlarmModelAssetPropertyVariant, AlarmModelAssetPropertyVariantArgs
- Boolean
Value string - The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value. - Double
Value string - The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
- Integer
Value string - The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
- String
Value string - The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
- Boolean
Value string - The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value. - Double
Value string - The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
- Integer
Value string - The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
- String
Value string - The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
- boolean
Value String - The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value. - double
Value String - The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
- integer
Value String - The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
- string
Value String - The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
- boolean
Value string - The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value. - double
Value string - The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
- integer
Value string - The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
- string
Value string - The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
- boolean_
value str - The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value. - double_
value str - The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
- integer_
value str - The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
- string_
value str - The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
- boolean
Value String - The asset property value is a Boolean value that must be
TRUE
orFALSE
. You can also specify an expression. If you use an expression, the evaluated result should be a Boolean value. - double
Value String - The asset property value is a double. You can also specify an expression. If you use an expression, the evaluated result should be a double.
- integer
Value String - The asset property value is an integer. You can also specify an expression. If you use an expression, the evaluated result should be an integer.
- string
Value String - The asset property value is a string. You can also specify an expression. If you use an expression, the evaluated result should be a string.
AlarmModelDynamoDBv2, AlarmModelDynamoDBv2Args
- Table
Name string - The name of the DynamoDB table.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload
- Table
Name string - The name of the DynamoDB table.
- Payload
Alarm
Model Payload
- table
Name String - The name of the DynamoDB table.
- payload
Alarm
Model Payload
- table
Name string - The name of the DynamoDB table.
- payload
Alarm
Model Payload
- table_
name str - The name of the DynamoDB table.
- payload
Alarm
Model Payload
- table
Name String - The name of the DynamoDB table.
- payload Property Map
AlarmModelDynamoDb, AlarmModelDynamoDbArgs
- Hash
Key stringField - The name of the hash key (also called the partition key).
- Hash
Key stringValue - The value of the hash key (also called the partition key).
- Table
Name string - The name of the DynamoDB table.
- Hash
Key stringType The data type for the hash key (also called the partition key). You can specify the following values:
STRING
- The hash key is a string.NUMBER
- The hash key is a number.
If you don't specify
hashKeyType
, the default value isSTRING
.- Operation string
The type of operation to perform. You can specify the following values:
INSERT
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.UPDATE
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.DELETE
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the
INSERT
operation.- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload - Payload
Field string The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is
payload
.- Range
Key stringField - The name of the range key (also called the sort key).
- Range
Key stringType The data type for the range key (also called the sort key), You can specify the following values:
STRING
- The range key is a string.NUMBER
- The range key is number.
If you don't specify
rangeKeyField
, the default value isSTRING
.- Range
Key stringValue - The value of the range key (also called the sort key).
- Hash
Key stringField - The name of the hash key (also called the partition key).
- Hash
Key stringValue - The value of the hash key (also called the partition key).
- Table
Name string - The name of the DynamoDB table.
- Hash
Key stringType The data type for the hash key (also called the partition key). You can specify the following values:
STRING
- The hash key is a string.NUMBER
- The hash key is a number.
If you don't specify
hashKeyType
, the default value isSTRING
.- Operation string
The type of operation to perform. You can specify the following values:
INSERT
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.UPDATE
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.DELETE
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the
INSERT
operation.- Payload
Alarm
Model Payload - Payload
Field string The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is
payload
.- Range
Key stringField - The name of the range key (also called the sort key).
- Range
Key stringType The data type for the range key (also called the sort key), You can specify the following values:
STRING
- The range key is a string.NUMBER
- The range key is number.
If you don't specify
rangeKeyField
, the default value isSTRING
.- Range
Key stringValue - The value of the range key (also called the sort key).
- hash
Key StringField - The name of the hash key (also called the partition key).
- hash
Key StringValue - The value of the hash key (also called the partition key).
- table
Name String - The name of the DynamoDB table.
- hash
Key StringType The data type for the hash key (also called the partition key). You can specify the following values:
STRING
- The hash key is a string.NUMBER
- The hash key is a number.
If you don't specify
hashKeyType
, the default value isSTRING
.- operation String
The type of operation to perform. You can specify the following values:
INSERT
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.UPDATE
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.DELETE
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the
INSERT
operation.- payload
Alarm
Model Payload - payload
Field String The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is
payload
.- range
Key StringField - The name of the range key (also called the sort key).
- range
Key StringType The data type for the range key (also called the sort key), You can specify the following values:
STRING
- The range key is a string.NUMBER
- The range key is number.
If you don't specify
rangeKeyField
, the default value isSTRING
.- range
Key StringValue - The value of the range key (also called the sort key).
- hash
Key stringField - The name of the hash key (also called the partition key).
- hash
Key stringValue - The value of the hash key (also called the partition key).
- table
Name string - The name of the DynamoDB table.
- hash
Key stringType The data type for the hash key (also called the partition key). You can specify the following values:
STRING
- The hash key is a string.NUMBER
- The hash key is a number.
If you don't specify
hashKeyType
, the default value isSTRING
.- operation string
The type of operation to perform. You can specify the following values:
INSERT
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.UPDATE
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.DELETE
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the
INSERT
operation.- payload
Alarm
Model Payload - payload
Field string The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is
payload
.- range
Key stringField - The name of the range key (also called the sort key).
- range
Key stringType The data type for the range key (also called the sort key), You can specify the following values:
STRING
- The range key is a string.NUMBER
- The range key is number.
If you don't specify
rangeKeyField
, the default value isSTRING
.- range
Key stringValue - The value of the range key (also called the sort key).
- hash_
key_ strfield - The name of the hash key (also called the partition key).
- hash_
key_ strvalue - The value of the hash key (also called the partition key).
- table_
name str - The name of the DynamoDB table.
- hash_
key_ strtype The data type for the hash key (also called the partition key). You can specify the following values:
STRING
- The hash key is a string.NUMBER
- The hash key is a number.
If you don't specify
hashKeyType
, the default value isSTRING
.- operation str
The type of operation to perform. You can specify the following values:
INSERT
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.UPDATE
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.DELETE
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the
INSERT
operation.- payload
Alarm
Model Payload - payload_
field str The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is
payload
.- range_
key_ strfield - The name of the range key (also called the sort key).
- range_
key_ strtype The data type for the range key (also called the sort key), You can specify the following values:
STRING
- The range key is a string.NUMBER
- The range key is number.
If you don't specify
rangeKeyField
, the default value isSTRING
.- range_
key_ strvalue - The value of the range key (also called the sort key).
- hash
Key StringField - The name of the hash key (also called the partition key).
- hash
Key StringValue - The value of the hash key (also called the partition key).
- table
Name String - The name of the DynamoDB table.
- hash
Key StringType The data type for the hash key (also called the partition key). You can specify the following values:
STRING
- The hash key is a string.NUMBER
- The hash key is a number.
If you don't specify
hashKeyType
, the default value isSTRING
.- operation String
The type of operation to perform. You can specify the following values:
INSERT
- Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.UPDATE
- Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.DELETE
- Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.
If you don't specify this parameter, AWS IoT Events triggers the
INSERT
operation.- payload Property Map
- payload
Field String The name of the DynamoDB column that receives the action payload.
If you don't specify this parameter, the name of the DynamoDB column is
payload
.- range
Key StringField - The name of the range key (also called the sort key).
- range
Key StringType The data type for the range key (also called the sort key), You can specify the following values:
STRING
- The range key is a string.NUMBER
- The range key is number.
If you don't specify
rangeKeyField
, the default value isSTRING
.- range
Key StringValue - The value of the range key (also called the sort key).
AlarmModelFirehose, AlarmModelFirehoseArgs
- Delivery
Stream stringName - The name of the Kinesis Data Firehose delivery stream where the data is written.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload - Separator string
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- Delivery
Stream stringName - The name of the Kinesis Data Firehose delivery stream where the data is written.
- Payload
Alarm
Model Payload - Separator string
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- delivery
Stream StringName - The name of the Kinesis Data Firehose delivery stream where the data is written.
- payload
Alarm
Model Payload - separator String
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- delivery
Stream stringName - The name of the Kinesis Data Firehose delivery stream where the data is written.
- payload
Alarm
Model Payload - separator string
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- delivery_
stream_ strname - The name of the Kinesis Data Firehose delivery stream where the data is written.
- payload
Alarm
Model Payload - separator str
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- delivery
Stream StringName - The name of the Kinesis Data Firehose delivery stream where the data is written.
- payload Property Map
- separator String
- A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
AlarmModelInitializationConfiguration, AlarmModelInitializationConfigurationArgs
- Disabled
On boolInitialization - The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
- Disabled
On boolInitialization - The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
- disabled
On BooleanInitialization - The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
- disabled
On booleanInitialization - The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
- disabled_
on_ boolinitialization - The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
- disabled
On BooleanInitialization - The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.
AlarmModelIotEvents, AlarmModelIotEventsArgs
- Input
Name string - The name of the AWS IoT Events input where the data is sent.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload
- Input
Name string - The name of the AWS IoT Events input where the data is sent.
- Payload
Alarm
Model Payload
- input
Name String - The name of the AWS IoT Events input where the data is sent.
- payload
Alarm
Model Payload
- input
Name string - The name of the AWS IoT Events input where the data is sent.
- payload
Alarm
Model Payload
- input_
name str - The name of the AWS IoT Events input where the data is sent.
- payload
Alarm
Model Payload
- input
Name String - The name of the AWS IoT Events input where the data is sent.
- payload Property Map
AlarmModelIotSiteWise, AlarmModelIotSiteWiseArgs
- Asset
Id string - The ID of the asset that has the specified property. You can specify an expression.
- Entry
Id string - A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
- Property
Alias string - The alias of the asset property. You can also specify an expression.
- Property
Id string - The ID of the asset property. You can specify an expression.
- Property
Value Pulumi.Aws Native. Io TEvents. Inputs. Alarm Model Asset Property Value
- Asset
Id string - The ID of the asset that has the specified property. You can specify an expression.
- Entry
Id string - A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
- Property
Alias string - The alias of the asset property. You can also specify an expression.
- Property
Id string - The ID of the asset property. You can specify an expression.
- Property
Value AlarmModel Asset Property Value
- asset
Id String - The ID of the asset that has the specified property. You can specify an expression.
- entry
Id String - A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
- property
Alias String - The alias of the asset property. You can also specify an expression.
- property
Id String - The ID of the asset property. You can specify an expression.
- property
Value AlarmModel Asset Property Value
- asset
Id string - The ID of the asset that has the specified property. You can specify an expression.
- entry
Id string - A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
- property
Alias string - The alias of the asset property. You can also specify an expression.
- property
Id string - The ID of the asset property. You can specify an expression.
- property
Value AlarmModel Asset Property Value
- asset_
id str - The ID of the asset that has the specified property. You can specify an expression.
- entry_
id str - A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
- property_
alias str - The alias of the asset property. You can also specify an expression.
- property_
id str - The ID of the asset property. You can specify an expression.
- property_
value AlarmModel Asset Property Value
- asset
Id String - The ID of the asset that has the specified property. You can specify an expression.
- entry
Id String - A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
- property
Alias String - The alias of the asset property. You can also specify an expression.
- property
Id String - The ID of the asset property. You can specify an expression.
- property
Value Property Map
AlarmModelIotTopicPublish, AlarmModelIotTopicPublishArgs
- Mqtt
Topic string - The MQTT topic of the message. You can use a string expression that includes variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string. - Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload
- Mqtt
Topic string - The MQTT topic of the message. You can use a string expression that includes variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string. - Payload
Alarm
Model Payload
- mqtt
Topic String - The MQTT topic of the message. You can use a string expression that includes variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string. - payload
Alarm
Model Payload
- mqtt
Topic string - The MQTT topic of the message. You can use a string expression that includes variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string. - payload
Alarm
Model Payload
- mqtt_
topic str - The MQTT topic of the message. You can use a string expression that includes variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string. - payload
Alarm
Model Payload
- mqtt
Topic String - The MQTT topic of the message. You can use a string expression that includes variables (
$variable.<variable-name>
) and input values ($input.<input-name>.<path-to-datum>
) as the topic string. - payload Property Map
AlarmModelLambda, AlarmModelLambdaArgs
- Function
Arn string - The ARN of the Lambda function that is executed.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload
- Function
Arn string - The ARN of the Lambda function that is executed.
- Payload
Alarm
Model Payload
- function
Arn String - The ARN of the Lambda function that is executed.
- payload
Alarm
Model Payload
- function
Arn string - The ARN of the Lambda function that is executed.
- payload
Alarm
Model Payload
- function_
arn str - The ARN of the Lambda function that is executed.
- payload
Alarm
Model Payload
- function
Arn String - The ARN of the Lambda function that is executed.
- payload Property Map
AlarmModelPayload, AlarmModelPayloadArgs
- Content
Expression string - The content of the payload. You can use a string expression that includes quoted strings (
'<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain${}
as the content. The recommended maximum size of a content expression is 1 KB. - Type string
- The value of the payload type can be either
STRING
orJSON
.
- Content
Expression string - The content of the payload. You can use a string expression that includes quoted strings (
'<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain${}
as the content. The recommended maximum size of a content expression is 1 KB. - Type string
- The value of the payload type can be either
STRING
orJSON
.
- content
Expression String - The content of the payload. You can use a string expression that includes quoted strings (
'<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain${}
as the content. The recommended maximum size of a content expression is 1 KB. - type String
- The value of the payload type can be either
STRING
orJSON
.
- content
Expression string - The content of the payload. You can use a string expression that includes quoted strings (
'<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain${}
as the content. The recommended maximum size of a content expression is 1 KB. - type string
- The value of the payload type can be either
STRING
orJSON
.
- content_
expression str - The content of the payload. You can use a string expression that includes quoted strings (
'<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain${}
as the content. The recommended maximum size of a content expression is 1 KB. - type str
- The value of the payload type can be either
STRING
orJSON
.
- content
Expression String - The content of the payload. You can use a string expression that includes quoted strings (
'<string>'
), variables ($variable.<variable-name>
), input values ($input.<input-name>.<path-to-datum>
), string concatenations, and quoted strings that contain${}
as the content. The recommended maximum size of a content expression is 1 KB. - type String
- The value of the payload type can be either
STRING
orJSON
.
AlarmModelSimpleRule, AlarmModelSimpleRuleArgs
- Comparison
Operator Pulumi.Aws Native. Io TEvents. Alarm Model Simple Rule Comparison Operator - The comparison operator.
- Input
Property string - The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
- Threshold string
- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
- Comparison
Operator AlarmModel Simple Rule Comparison Operator - The comparison operator.
- Input
Property string - The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
- Threshold string
- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
- comparison
Operator AlarmModel Simple Rule Comparison Operator - The comparison operator.
- input
Property String - The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
- threshold String
- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
- comparison
Operator AlarmModel Simple Rule Comparison Operator - The comparison operator.
- input
Property string - The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
- threshold string
- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
- comparison_
operator AlarmModel Simple Rule Comparison Operator - The comparison operator.
- input_
property str - The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
- threshold str
- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
- comparison
Operator "GREATER" | "GREATER_OR_EQUAL" | "LESS" | "LESS_OR_EQUAL" | "EQUAL" | "NOT_EQUAL" - The comparison operator.
- input
Property String - The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
- threshold String
- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
AlarmModelSimpleRuleComparisonOperator, AlarmModelSimpleRuleComparisonOperatorArgs
- Greater
- GREATER
- Greater
Or Equal - GREATER_OR_EQUAL
- Less
- LESS
- Less
Or Equal - LESS_OR_EQUAL
- Equal
- EQUAL
- Not
Equal - NOT_EQUAL
- Alarm
Model Simple Rule Comparison Operator Greater - GREATER
- Alarm
Model Simple Rule Comparison Operator Greater Or Equal - GREATER_OR_EQUAL
- Alarm
Model Simple Rule Comparison Operator Less - LESS
- Alarm
Model Simple Rule Comparison Operator Less Or Equal - LESS_OR_EQUAL
- Alarm
Model Simple Rule Comparison Operator Equal - EQUAL
- Alarm
Model Simple Rule Comparison Operator Not Equal - NOT_EQUAL
- Greater
- GREATER
- Greater
Or Equal - GREATER_OR_EQUAL
- Less
- LESS
- Less
Or Equal - LESS_OR_EQUAL
- Equal
- EQUAL
- Not
Equal - NOT_EQUAL
- Greater
- GREATER
- Greater
Or Equal - GREATER_OR_EQUAL
- Less
- LESS
- Less
Or Equal - LESS_OR_EQUAL
- Equal
- EQUAL
- Not
Equal - NOT_EQUAL
- GREATER
- GREATER
- GREATER_OR_EQUAL
- GREATER_OR_EQUAL
- LESS
- LESS
- LESS_OR_EQUAL
- LESS_OR_EQUAL
- EQUAL
- EQUAL
- NOT_EQUAL
- NOT_EQUAL
- "GREATER"
- GREATER
- "GREATER_OR_EQUAL"
- GREATER_OR_EQUAL
- "LESS"
- LESS
- "LESS_OR_EQUAL"
- LESS_OR_EQUAL
- "EQUAL"
- EQUAL
- "NOT_EQUAL"
- NOT_EQUAL
AlarmModelSns, AlarmModelSnsArgs
- Target
Arn string - The ARN of the Amazon SNS target where the message is sent.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload
- Target
Arn string - The ARN of the Amazon SNS target where the message is sent.
- Payload
Alarm
Model Payload
- target
Arn String - The ARN of the Amazon SNS target where the message is sent.
- payload
Alarm
Model Payload
- target
Arn string - The ARN of the Amazon SNS target where the message is sent.
- payload
Alarm
Model Payload
- target_
arn str - The ARN of the Amazon SNS target where the message is sent.
- payload
Alarm
Model Payload
- target
Arn String - The ARN of the Amazon SNS target where the message is sent.
- payload Property Map
AlarmModelSqs, AlarmModelSqsArgs
- Queue
Url string - The URL of the SQS queue where the data is written.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Alarm Model Payload - Use
Base64 bool - Set this to
TRUE
if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this toFALSE
.
- Queue
Url string - The URL of the SQS queue where the data is written.
- Payload
Alarm
Model Payload - Use
Base64 bool - Set this to
TRUE
if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this toFALSE
.
- queue
Url String - The URL of the SQS queue where the data is written.
- payload
Alarm
Model Payload - use
Base64 Boolean - Set this to
TRUE
if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this toFALSE
.
- queue
Url string - The URL of the SQS queue where the data is written.
- payload
Alarm
Model Payload - use
Base64 boolean - Set this to
TRUE
if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this toFALSE
.
- queue_
url str - The URL of the SQS queue where the data is written.
- payload
Alarm
Model Payload - use_
base64 bool - Set this to
TRUE
if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this toFALSE
.
- queue
Url String - The URL of the SQS queue where the data is written.
- payload Property Map
- use
Base64 Boolean - Set this to
TRUE
if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this toFALSE
.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.