AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotevents.getDetectorModel
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::IoTEvents::DetectorModel resource creates a detector model. You create a detector model (a model of your equipment or process) using states. For each state, you define conditional (Boolean) logic that evaluates the incoming inputs to detect significant events. When an event is detected, it can change the state or trigger custom-built or predefined actions using other AWS services. You can define additional events that trigger actions when entering or exiting a state and, optionally, when a condition is met. For more information, see How to Use AWS IoT Events in the AWS IoT Events Developer Guide.
Using getDetectorModel
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 getDetectorModel(args: GetDetectorModelArgs, opts?: InvokeOptions): Promise<GetDetectorModelResult>
function getDetectorModelOutput(args: GetDetectorModelOutputArgs, opts?: InvokeOptions): Output<GetDetectorModelResult>
def get_detector_model(detector_model_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDetectorModelResult
def get_detector_model_output(detector_model_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDetectorModelResult]
func LookupDetectorModel(ctx *Context, args *LookupDetectorModelArgs, opts ...InvokeOption) (*LookupDetectorModelResult, error)
func LookupDetectorModelOutput(ctx *Context, args *LookupDetectorModelOutputArgs, opts ...InvokeOption) LookupDetectorModelResultOutput
> Note: This function is named LookupDetectorModel
in the Go SDK.
public static class GetDetectorModel
{
public static Task<GetDetectorModelResult> InvokeAsync(GetDetectorModelArgs args, InvokeOptions? opts = null)
public static Output<GetDetectorModelResult> Invoke(GetDetectorModelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDetectorModelResult> getDetectorModel(GetDetectorModelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iotevents:getDetectorModel
arguments:
# arguments dictionary
The following arguments are supported:
- Detector
Model stringName The name of the detector model.
- Detector
Model stringName The name of the detector model.
- detector
Model StringName The name of the detector model.
- detector
Model stringName The name of the detector model.
- detector_
model_ strname The name of the detector model.
- detector
Model StringName The name of the detector model.
getDetectorModel Result
The following output properties are available:
- Detector
Model Pulumi.Definition Aws Native. Io TEvents. Outputs. Detector Model Definition - Detector
Model stringDescription A brief description of the detector model.
- Evaluation
Method Pulumi.Aws Native. Io TEvents. Detector Model Evaluation Method Information about the order in which events are evaluated and how actions are executed.
- Role
Arn string The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- List<Pulumi.
Aws Native. Io TEvents. Outputs. Detector Model Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag.
- Detector
Model DetectorDefinition Model Definition - Detector
Model stringDescription A brief description of the detector model.
- Evaluation
Method DetectorModel Evaluation Method Information about the order in which events are evaluated and how actions are executed.
- Role
Arn string The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- []Detector
Model Tag An array of key-value pairs to apply to this resource.
For more information, see Tag.
- detector
Model DetectorDefinition Model Definition - detector
Model StringDescription A brief description of the detector model.
- evaluation
Method DetectorModel Evaluation Method Information about the order in which events are evaluated and how actions are executed.
- role
Arn String The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- List<Detector
Model Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag.
- detector
Model DetectorDefinition Model Definition - detector
Model stringDescription A brief description of the detector model.
- evaluation
Method DetectorModel Evaluation Method Information about the order in which events are evaluated and how actions are executed.
- role
Arn string The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- Detector
Model Tag[] An array of key-value pairs to apply to this resource.
For more information, see Tag.
- detector_
model_ Detectordefinition Model Definition - detector_
model_ strdescription A brief description of the detector model.
- evaluation_
method DetectorModel Evaluation Method Information about the order in which events are evaluated and how actions are executed.
- role_
arn str The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- Sequence[Detector
Model Tag] An array of key-value pairs to apply to this resource.
For more information, see Tag.
- detector
Model Property MapDefinition - detector
Model StringDescription A brief description of the detector model.
- evaluation
Method "BATCH" | "SERIAL" Information about the order in which events are evaluated and how actions are executed.
- role
Arn String The ARN of the role that grants permission to AWS IoT Events to perform its operations.
- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Supporting Types
DetectorModelAction
- Clear
Timer Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Clear Timer - Dynamo
DB Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Dynamo DB - Dynamo
DBv2 Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Dynamo DBv2 - Firehose
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Firehose - Iot
Events Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Iot Events - Iot
Site Pulumi.Wise Aws Native. Io TEvents. Inputs. Detector Model Iot Site Wise - Iot
Topic Pulumi.Publish Aws Native. Io TEvents. Inputs. Detector Model Iot Topic Publish - Lambda
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Lambda - Reset
Timer Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Reset Timer - Set
Timer Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Set Timer - Set
Variable Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Set Variable - Sns
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Sns - Sqs
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Sqs
- Clear
Timer DetectorModel Clear Timer - Dynamo
DB DetectorModel Dynamo DB - Dynamo
DBv2 DetectorModel Dynamo DBv2 - Firehose
Detector
Model Firehose - Iot
Events DetectorModel Iot Events - Iot
Site DetectorWise Model Iot Site Wise - Iot
Topic DetectorPublish Model Iot Topic Publish - Lambda
Detector
Model Lambda - Reset
Timer DetectorModel Reset Timer - Set
Timer DetectorModel Set Timer - Set
Variable DetectorModel Set Variable - Sns
Detector
Model Sns - Sqs
Detector
Model Sqs
- clear
Timer DetectorModel Clear Timer - dynamo
DB DetectorModel Dynamo DB - dynamo
DBv2 DetectorModel Dynamo DBv2 - firehose
Detector
Model Firehose - iot
Events DetectorModel Iot Events - iot
Site DetectorWise Model Iot Site Wise - iot
Topic DetectorPublish Model Iot Topic Publish - lambda
Detector
Model Lambda - reset
Timer DetectorModel Reset Timer - set
Timer DetectorModel Set Timer - set
Variable DetectorModel Set Variable - sns
Detector
Model Sns - sqs
Detector
Model Sqs
- clear
Timer DetectorModel Clear Timer - dynamo
DB DetectorModel Dynamo DB - dynamo
DBv2 DetectorModel Dynamo DBv2 - firehose
Detector
Model Firehose - iot
Events DetectorModel Iot Events - iot
Site DetectorWise Model Iot Site Wise - iot
Topic DetectorPublish Model Iot Topic Publish - lambda
Detector
Model Lambda - reset
Timer DetectorModel Reset Timer - set
Timer DetectorModel Set Timer - set
Variable DetectorModel Set Variable - sns
Detector
Model Sns - sqs
Detector
Model Sqs
- clear_
timer DetectorModel Clear Timer - dynamo_
d_ Detectorbv2 Model Dynamo DBv2 - dynamo_
db DetectorModel Dynamo DB - firehose
Detector
Model Firehose - iot_
events DetectorModel Iot Events - iot_
site_ Detectorwise Model Iot Site Wise - iot_
topic_ Detectorpublish Model Iot Topic Publish - lambda_
Detector
Model Lambda - reset_
timer DetectorModel Reset Timer - set_
timer DetectorModel Set Timer - set_
variable DetectorModel Set Variable - sns
Detector
Model Sns - sqs
Detector
Model Sqs
DetectorModelAssetPropertyTimestamp
- 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.
DetectorModelAssetPropertyValue
- Value
Pulumi.
Aws Native. Io TEvents. Inputs. Detector 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. Detector Model Asset Property Timestamp
- Value
Detector
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
Detector
Model Asset Property Timestamp
- value
Detector
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
Detector
Model Asset Property Timestamp
- value
Detector
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
Detector
Model Asset Property Timestamp
- value
Detector
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
Detector
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
DetectorModelAssetPropertyVariant
- 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.
DetectorModelClearTimer
- Timer
Name string
- Timer
Name string
- timer
Name String
- timer
Name string
- timer_
name str
- timer
Name String
DetectorModelDefinition
- Initial
State stringName The state that is entered at the creation of each detector (instance).
- States
List<Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model State> Information about the states of the detector.
- Initial
State stringName The state that is entered at the creation of each detector (instance).
- States
[]Detector
Model State Type Information about the states of the detector.
- initial
State StringName The state that is entered at the creation of each detector (instance).
- states
List<Detector
Model State> Information about the states of the detector.
- initial
State stringName The state that is entered at the creation of each detector (instance).
- states
Detector
Model State[] Information about the states of the detector.
- initial_
state_ strname The state that is entered at the creation of each detector (instance).
- states
Sequence[Detector
Model State] Information about the states of the detector.
- initial
State StringName The state that is entered at the creation of each detector (instance).
- states List<Property Map>
Information about the states of the detector.
DetectorModelDynamoDB
- 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. Detector 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
Detector
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
Detector
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
Detector
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
Detector
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).
DetectorModelDynamoDBv2
- Table
Name string The name of the DynamoDB table.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Payload
- Table
Name string The name of the DynamoDB table.
- Payload
Detector
Model Payload
- table
Name String The name of the DynamoDB table.
- payload
Detector
Model Payload
- table
Name string The name of the DynamoDB table.
- payload
Detector
Model Payload
- table_
name str The name of the DynamoDB table.
- payload
Detector
Model Payload
- table
Name String The name of the DynamoDB table.
- payload Property Map
DetectorModelEvaluationMethod
DetectorModelEvent
- Event
Name string The name of the event.
- Actions
List<Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Action> The actions to be performed.
- Condition string
The Boolean expression that, when
TRUE
, causes theactions
to be performed. If not present, theactions
are performed (=TRUE
). If the expression result is not aBoolean
value, theactions
are not performed (=FALSE
).
- Event
Name string The name of the event.
- Actions
[]Detector
Model Action The actions to be performed.
- Condition string
The Boolean expression that, when
TRUE
, causes theactions
to be performed. If not present, theactions
are performed (=TRUE
). If the expression result is not aBoolean
value, theactions
are not performed (=FALSE
).
- event
Name String The name of the event.
- actions
List<Detector
Model Action> The actions to be performed.
- condition String
The Boolean expression that, when
TRUE
, causes theactions
to be performed. If not present, theactions
are performed (=TRUE
). If the expression result is not aBoolean
value, theactions
are not performed (=FALSE
).
- event
Name string The name of the event.
- actions
Detector
Model Action[] The actions to be performed.
- condition string
The Boolean expression that, when
TRUE
, causes theactions
to be performed. If not present, theactions
are performed (=TRUE
). If the expression result is not aBoolean
value, theactions
are not performed (=FALSE
).
- event_
name str The name of the event.
- actions
Sequence[Detector
Model Action] The actions to be performed.
- condition str
The Boolean expression that, when
TRUE
, causes theactions
to be performed. If not present, theactions
are performed (=TRUE
). If the expression result is not aBoolean
value, theactions
are not performed (=FALSE
).
- event
Name String The name of the event.
- actions List<Property Map>
The actions to be performed.
- condition String
The Boolean expression that, when
TRUE
, causes theactions
to be performed. If not present, theactions
are performed (=TRUE
). If the expression result is not aBoolean
value, theactions
are not performed (=FALSE
).
DetectorModelFirehose
- Delivery
Stream stringName The name of the Kinesis Data Firehose delivery stream where the data is written.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Detector 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
Detector
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
Detector
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
Detector
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
Detector
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).
DetectorModelIotEvents
- Input
Name string The name of the AWS IoT Events input where the data is sent.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Payload
- Input
Name string The name of the AWS IoT Events input where the data is sent.
- Payload
Detector
Model Payload
- input
Name String The name of the AWS IoT Events input where the data is sent.
- payload
Detector
Model Payload
- input
Name string The name of the AWS IoT Events input where the data is sent.
- payload
Detector
Model Payload
- input_
name str The name of the AWS IoT Events input where the data is sent.
- payload
Detector
Model Payload
- input
Name String The name of the AWS IoT Events input where the data is sent.
- payload Property Map
DetectorModelIotSiteWise
- Property
Value Pulumi.Aws Native. Io TEvents. Inputs. Detector 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 DetectorModel 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 DetectorModel 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 DetectorModel 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 DetectorModel 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 Property Map - 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.
DetectorModelIotTopicPublish
- 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. Detector 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
Detector
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
Detector
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
Detector
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
Detector
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
DetectorModelLambda
- Function
Arn string The ARN of the Lambda function that is executed.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Payload
- Function
Arn string The ARN of the Lambda function that is executed.
- Payload
Detector
Model Payload
- function
Arn String The ARN of the Lambda function that is executed.
- payload
Detector
Model Payload
- function
Arn string The ARN of the Lambda function that is executed.
- payload
Detector
Model Payload
- function_
arn str The ARN of the Lambda function that is executed.
- payload
Detector
Model Payload
- function
Arn String The ARN of the Lambda function that is executed.
- payload Property Map
DetectorModelOnEnter
- Events
List<Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Event> Specifies the
actions
that are performed when the state is entered and thecondition
isTRUE
.
- Events
[]Detector
Model Event Specifies the
actions
that are performed when the state is entered and thecondition
isTRUE
.
- events
List<Detector
Model Event> Specifies the
actions
that are performed when the state is entered and thecondition
isTRUE
.
- events
Detector
Model Event[] Specifies the
actions
that are performed when the state is entered and thecondition
isTRUE
.
- events
Sequence[Detector
Model Event] Specifies the
actions
that are performed when the state is entered and thecondition
isTRUE
.
- events List<Property Map>
Specifies the
actions
that are performed when the state is entered and thecondition
isTRUE
.
DetectorModelOnExit
- Events
List<Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Event> Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.
- Events
[]Detector
Model Event Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.
- events
List<Detector
Model Event> Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.
- events
Detector
Model Event[] Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.
- events
Sequence[Detector
Model Event] Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.
- events List<Property Map>
Specifies the
actions
that are performed when the state is exited and thecondition
isTRUE
.
DetectorModelOnInput
- Events
List<Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Event> Specifies the
actions
performed when thecondition
evaluates toTRUE
.- Transition
Events List<Pulumi.Aws Native. Io TEvents. Inputs. Detector Model Transition Event> Specifies the
actions
performed, and the nextstate
entered, when acondition
evaluates toTRUE
.
- Events
[]Detector
Model Event Specifies the
actions
performed when thecondition
evaluates toTRUE
.- Transition
Events []DetectorModel Transition Event Specifies the
actions
performed, and the nextstate
entered, when acondition
evaluates toTRUE
.
- events
List<Detector
Model Event> Specifies the
actions
performed when thecondition
evaluates toTRUE
.- transition
Events List<DetectorModel Transition Event> Specifies the
actions
performed, and the nextstate
entered, when acondition
evaluates toTRUE
.
- events
Detector
Model Event[] Specifies the
actions
performed when thecondition
evaluates toTRUE
.- transition
Events DetectorModel Transition Event[] Specifies the
actions
performed, and the nextstate
entered, when acondition
evaluates toTRUE
.
- events
Sequence[Detector
Model Event] Specifies the
actions
performed when thecondition
evaluates toTRUE
.- transition_
events Sequence[DetectorModel Transition Event] Specifies the
actions
performed, and the nextstate
entered, when acondition
evaluates toTRUE
.
- events List<Property Map>
Specifies the
actions
performed when thecondition
evaluates toTRUE
.- transition
Events List<Property Map> Specifies the
actions
performed, and the nextstate
entered, when acondition
evaluates toTRUE
.
DetectorModelPayload
- 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
.
DetectorModelResetTimer
- Timer
Name string The name of the timer to reset.
- Timer
Name string The name of the timer to reset.
- timer
Name String The name of the timer to reset.
- timer
Name string The name of the timer to reset.
- timer_
name str The name of the timer to reset.
- timer
Name String The name of the timer to reset.
DetectorModelSetTimer
- Timer
Name string The name of the timer.
- Duration
Expression string The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>
), and input values ($input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is1-31622400
seconds. To ensure accuracy, the minimum duration is60
seconds. The evaluated result of the duration is rounded down to the nearest whole number.- Seconds int
The number of seconds until the timer expires. The minimum value is
60
seconds to ensure accuracy. The maximum value is31622400
seconds.
- Timer
Name string The name of the timer.
- Duration
Expression string The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>
), and input values ($input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is1-31622400
seconds. To ensure accuracy, the minimum duration is60
seconds. The evaluated result of the duration is rounded down to the nearest whole number.- Seconds int
The number of seconds until the timer expires. The minimum value is
60
seconds to ensure accuracy. The maximum value is31622400
seconds.
- timer
Name String The name of the timer.
- duration
Expression String The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>
), and input values ($input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is1-31622400
seconds. To ensure accuracy, the minimum duration is60
seconds. The evaluated result of the duration is rounded down to the nearest whole number.- seconds Integer
The number of seconds until the timer expires. The minimum value is
60
seconds to ensure accuracy. The maximum value is31622400
seconds.
- timer
Name string The name of the timer.
- duration
Expression string The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>
), and input values ($input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is1-31622400
seconds. To ensure accuracy, the minimum duration is60
seconds. The evaluated result of the duration is rounded down to the nearest whole number.- seconds number
The number of seconds until the timer expires. The minimum value is
60
seconds to ensure accuracy. The maximum value is31622400
seconds.
- timer_
name str The name of the timer.
- duration_
expression str The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>
), and input values ($input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is1-31622400
seconds. To ensure accuracy, the minimum duration is60
seconds. The evaluated result of the duration is rounded down to the nearest whole number.- seconds int
The number of seconds until the timer expires. The minimum value is
60
seconds to ensure accuracy. The maximum value is31622400
seconds.
- timer
Name String The name of the timer.
- duration
Expression String The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
$variable.<variable-name>
), and input values ($input.<input-name>.<path-to-datum>
) as the duration. The range of the duration is1-31622400
seconds. To ensure accuracy, the minimum duration is60
seconds. The evaluated result of the duration is rounded down to the nearest whole number.- seconds Number
The number of seconds until the timer expires. The minimum value is
60
seconds to ensure accuracy. The maximum value is31622400
seconds.
DetectorModelSetVariable
- Value string
The new value of the variable.
- Variable
Name string The name of the variable.
- Value string
The new value of the variable.
- Variable
Name string The name of the variable.
- value String
The new value of the variable.
- variable
Name String The name of the variable.
- value string
The new value of the variable.
- variable
Name string The name of the variable.
- value str
The new value of the variable.
- variable_
name str The name of the variable.
- value String
The new value of the variable.
- variable
Name String The name of the variable.
DetectorModelSns
- Target
Arn string The ARN of the Amazon SNS target where the message is sent.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Payload
- Target
Arn string The ARN of the Amazon SNS target where the message is sent.
- Payload
Detector
Model Payload
- target
Arn String The ARN of the Amazon SNS target where the message is sent.
- payload
Detector
Model Payload
- target
Arn string The ARN of the Amazon SNS target where the message is sent.
- payload
Detector
Model Payload
- target_
arn str The ARN of the Amazon SNS target where the message is sent.
- payload
Detector
Model Payload
- target
Arn String The ARN of the Amazon SNS target where the message is sent.
- payload Property Map
DetectorModelSqs
- Queue
Url string The URL of the SQS queue where the data is written.
- Payload
Pulumi.
Aws Native. Io TEvents. Inputs. Detector 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
Detector
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
Detector
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
Detector
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
Detector
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
.
DetectorModelState
- State
Name string The name of the state.
- On
Enter DetectorModel On Enter - On
Exit DetectorModel On Exit - On
Input DetectorModel On Input
- state
Name String The name of the state.
- on
Enter DetectorModel On Enter - on
Exit DetectorModel On Exit - on
Input DetectorModel On Input
- state
Name string The name of the state.
- on
Enter DetectorModel On Enter - on
Exit DetectorModel On Exit - on
Input DetectorModel On Input
- state_
name str The name of the state.
- on_
enter DetectorModel On Enter - on_
exit DetectorModel On Exit - on_
input DetectorModel On Input
- state
Name String The name of the state.
- on
Enter Property Map - on
Exit Property Map - on
Input Property Map
DetectorModelTag
DetectorModelTransitionEvent
- Condition string
A Boolean expression that when
TRUE
causes theactions
to be performed and thenextState
to be entered.- Event
Name string The name of the event.
- Next
State string The next state to enter.
- Actions
List<Pulumi.
Aws Native. Io TEvents. Inputs. Detector Model Action> The actions to be performed.
- Condition string
A Boolean expression that when
TRUE
causes theactions
to be performed and thenextState
to be entered.- Event
Name string The name of the event.
- Next
State string The next state to enter.
- Actions
[]Detector
Model Action The actions to be performed.
- condition String
A Boolean expression that when
TRUE
causes theactions
to be performed and thenextState
to be entered.- event
Name String The name of the event.
- next
State String The next state to enter.
- actions
List<Detector
Model Action> The actions to be performed.
- condition string
A Boolean expression that when
TRUE
causes theactions
to be performed and thenextState
to be entered.- event
Name string The name of the event.
- next
State string The next state to enter.
- actions
Detector
Model Action[] The actions to be performed.
- condition str
A Boolean expression that when
TRUE
causes theactions
to be performed and thenextState
to be entered.- event_
name str The name of the event.
- next_
state str The next state to enter.
- actions
Sequence[Detector
Model Action] The actions to be performed.
- condition String
A Boolean expression that when
TRUE
causes theactions
to be performed and thenextState
to be entered.- event
Name String The name of the event.
- next
State String The next state to enter.
- actions List<Property Map>
The actions to be performed.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.