@Stability(value=Stable) @Internal public static final class CfnAlarmModel.AlarmActionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAlarmModel.AlarmActionProperty
CfnAlarmModel.AlarmActionPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnAlarmModel.AlarmActionProperty.Builder, CfnAlarmModel.AlarmActionProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnAlarmModel.AlarmActionProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnAlarmModel.AcknowledgeFlowProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getDynamoDb()
Defines an action to write to the Amazon DynamoDB table that you created.
|
Object |
getDynamoDBv2()
Defines an action to write to the Amazon DynamoDB table that you created.
|
Object |
getFirehose()
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
Object |
getIotEvents()
Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.
|
Object |
getIotSiteWise()
Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise .
|
Object |
getIotTopicPublish()
Information required to publish the MQTT message through the AWS IoT message broker.
|
Object |
getLambda()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
Object |
getSns()
`CfnAlarmModel.AlarmActionProperty.Sns`.
|
Object |
getSqs()
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnAlarmModel.AlarmActionProperty.Builder builder)
CfnAlarmModel.AcknowledgeFlowProperty.Builder.public final Object getDynamoDb()
CfnAlarmModel.AlarmActionPropertyThe standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload . One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
You must use expressions for all parameters in DynamoDBAction . The expressions accept literals, operators, functions, references, and substitution templates.
Examples - For literal values, the expressions must contain single quotes. For example, the value for the hashKeyType parameter can be 'STRING' .
hashKeyField parameter can be $input.GreenhouseInput.name .${} , and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
In the following example, the value for the hashKeyValue parameter uses a substitution template.
'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'
+ . A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
In the following example, the value for the tableName parameter uses a string concatenation.
'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date
For more information, see Expressions in the AWS IoT Events Developer Guide .
If the defined payload type is a string, DynamoDBAction writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the payloadField parameter is <payload-field>_raw .
getDynamoDb in interface CfnAlarmModel.AlarmActionPropertypublic final Object getDynamoDBv2()
CfnAlarmModel.AlarmActionPropertyThe default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload . A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
You must use expressions for all parameters in DynamoDBv2Action . The expressions accept literals, operators, functions, references, and substitution templates.
Examples - For literal values, the expressions must contain single quotes. For example, the value for the tableName parameter can be 'GreenhouseTemperatureTable' .
tableName parameter can be $variable.ddbtableName .${} , and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
In the following example, the value for the contentExpression parameter in Payload uses a substitution template.
'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'
+ . A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
In the following example, the value for the tableName parameter uses a string concatenation.
'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date
For more information, see Expressions in the AWS IoT Events Developer Guide .
The value for the type parameter in Payload must be JSON .
getDynamoDBv2 in interface CfnAlarmModel.AlarmActionPropertypublic final Object getFirehose()
CfnAlarmModel.AlarmActionPropertygetFirehose in interface CfnAlarmModel.AlarmActionPropertypublic final Object getIotEvents()
CfnAlarmModel.AlarmActionPropertygetIotEvents in interface CfnAlarmModel.AlarmActionPropertypublic final Object getIotSiteWise()
CfnAlarmModel.AlarmActionProperty
You must use expressions for all parameters in IotSiteWiseAction . The expressions accept literals, operators, functions, references, and substitutions templates.
Examples - For literal values, the expressions must contain single quotes. For example, the value for the propertyAlias parameter can be '/company/windfarm/3/turbine/7/temperature' .
assetId parameter can be $input.TurbineInput.assetId1 .${} , and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
In the following example, the value for the propertyAlias parameter uses a substitution template.
'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'
You must specify either propertyAlias or both assetId and propertyId to identify the target asset property in AWS IoT SiteWise .
For more information, see Expressions in the AWS IoT Events Developer Guide .
getIotSiteWise in interface CfnAlarmModel.AlarmActionPropertypublic final Object getIotTopicPublish()
CfnAlarmModel.AlarmActionPropertygetIotTopicPublish in interface CfnAlarmModel.AlarmActionPropertypublic final Object getLambda()
CfnAlarmModel.AlarmActionPropertygetLambda in interface CfnAlarmModel.AlarmActionPropertypublic final Object getSns()
CfnAlarmModel.AlarmActionPropertygetSns in interface CfnAlarmModel.AlarmActionPropertypublic final Object getSqs()
CfnAlarmModel.AlarmActionPropertygetSqs in interface CfnAlarmModel.AlarmActionProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.