AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotevents.getAlarmModel
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.
Using getAlarmModel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlarmModel(args: GetAlarmModelArgs, opts?: InvokeOptions): Promise<GetAlarmModelResult>
function getAlarmModelOutput(args: GetAlarmModelOutputArgs, opts?: InvokeOptions): Output<GetAlarmModelResult>
def get_alarm_model(alarm_model_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlarmModelResult
def get_alarm_model_output(alarm_model_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlarmModelResult]
func LookupAlarmModel(ctx *Context, args *LookupAlarmModelArgs, opts ...InvokeOption) (*LookupAlarmModelResult, error)
func LookupAlarmModelOutput(ctx *Context, args *LookupAlarmModelOutputArgs, opts ...InvokeOption) LookupAlarmModelResultOutput
> Note: This function is named LookupAlarmModel
in the Go SDK.
public static class GetAlarmModel
{
public static Task<GetAlarmModelResult> InvokeAsync(GetAlarmModelArgs args, InvokeOptions? opts = null)
public static Output<GetAlarmModelResult> Invoke(GetAlarmModelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlarmModelResult> getAlarmModel(GetAlarmModelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iotevents:getAlarmModel
arguments:
# arguments dictionary
The following arguments are supported:
- Alarm
Model stringName - The name of the alarm model.
- Alarm
Model stringName - The name of the alarm model.
- alarm
Model StringName - The name of the alarm model.
- alarm
Model stringName - The name of the alarm model.
- alarm_
model_ strname - The name of the alarm model.
- alarm
Model StringName - The name of the alarm model.
getAlarmModel Result
The following output properties are available:
- Alarm
Capabilities Pulumi.Aws Native. Io TEvents. Outputs. Alarm Model Alarm Capabilities - Contains the configuration information of alarm state changes.
- Alarm
Event Pulumi.Actions Aws Native. Io TEvents. Outputs. Alarm Model Alarm Event Actions - Contains information about one or more alarm actions.
- Alarm
Model stringDescription - A brief description of the alarm model.
- Alarm
Rule Pulumi.Aws Native. Io TEvents. Outputs. 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.
- Severity int
- A non-negative integer that reflects the severity level of the alarm.
- List<Pulumi.
Aws Native. Outputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag.
- 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
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.
- Severity int
- 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
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
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.
- 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
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
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.
- 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_
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_ strdescription - A brief description of the alarm model.
- alarm_
rule AlarmModel Alarm Rule - 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.
- severity int
- A non-negative integer that reflects the severity level of the alarm.
- Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- 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
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.
- 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.
Supporting Types
AlarmModelAcknowledgeFlow
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
AlarmModelSns
- 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
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.