interface AlarmEventActionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnAlarmModelPropsMixin.AlarmEventActionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnAlarmModelPropsMixin_AlarmEventActionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnAlarmModelPropsMixin.AlarmEventActionsProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnAlarmModelPropsMixin.AlarmEventActionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » CfnAlarmModelPropsMixin » AlarmEventActionsProperty |
Contains information about one or more alarm actions.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const alarmEventActionsProperty: iotevents_mixins.CfnAlarmModelPropsMixin.AlarmEventActionsProperty = {
alarmActions: [{
dynamoDb: {
hashKeyField: 'hashKeyField',
hashKeyType: 'hashKeyType',
hashKeyValue: 'hashKeyValue',
operation: 'operation',
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
payloadField: 'payloadField',
rangeKeyField: 'rangeKeyField',
rangeKeyType: 'rangeKeyType',
rangeKeyValue: 'rangeKeyValue',
tableName: 'tableName',
},
dynamoDBv2: {
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
tableName: 'tableName',
},
firehose: {
deliveryStreamName: 'deliveryStreamName',
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
separator: 'separator',
},
iotEvents: {
inputName: 'inputName',
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
},
iotSiteWise: {
assetId: 'assetId',
entryId: 'entryId',
propertyAlias: 'propertyAlias',
propertyId: 'propertyId',
propertyValue: {
quality: 'quality',
timestamp: {
offsetInNanos: 'offsetInNanos',
timeInSeconds: 'timeInSeconds',
},
value: {
booleanValue: 'booleanValue',
doubleValue: 'doubleValue',
integerValue: 'integerValue',
stringValue: 'stringValue',
},
},
},
iotTopicPublish: {
mqttTopic: 'mqttTopic',
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
},
lambda: {
functionArn: 'functionArn',
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
},
sns: {
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
targetArn: 'targetArn',
},
sqs: {
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
queueUrl: 'queueUrl',
useBase64: false,
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| alarm | IResolvable | (IResolvable | Alarm)[] | Specifies one or more supported actions to receive notifications when the alarm state changes. |
alarmActions?
Type:
IResolvable | (IResolvable | Alarm)[]
(optional)
Specifies one or more supported actions to receive notifications when the alarm state changes.

.NET
Go
Java
Python
TypeScript