Interface CfnAlarmModelPropsMixin.IAlarmEventActionsProperty
Contains information about one or more alarm actions.
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnAlarmModelPropsMixin.IAlarmEventActionsProperty
Syntax (vb)
Public Interface CfnAlarmModelPropsMixin.IAlarmEventActionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins;
var alarmEventActionsProperty = new AlarmEventActionsProperty {
AlarmActions = new [] { new AlarmActionProperty {
DynamoDb = new DynamoDBProperty {
HashKeyField = "hashKeyField",
HashKeyType = "hashKeyType",
HashKeyValue = "hashKeyValue",
Operation = "operation",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
PayloadField = "payloadField",
RangeKeyField = "rangeKeyField",
RangeKeyType = "rangeKeyType",
RangeKeyValue = "rangeKeyValue",
TableName = "tableName"
},
DynamoDBv2 = new DynamoDBv2Property {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
TableName = "tableName"
},
Firehose = new FirehoseProperty {
DeliveryStreamName = "deliveryStreamName",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
Separator = "separator"
},
IotEvents = new IotEventsProperty {
InputName = "inputName",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
},
IotSiteWise = new IotSiteWiseProperty {
AssetId = "assetId",
EntryId = "entryId",
PropertyAlias = "propertyAlias",
PropertyId = "propertyId",
PropertyValue = new AssetPropertyValueProperty {
Quality = "quality",
Timestamp = new AssetPropertyTimestampProperty {
OffsetInNanos = "offsetInNanos",
TimeInSeconds = "timeInSeconds"
},
Value = new AssetPropertyVariantProperty {
BooleanValue = "booleanValue",
DoubleValue = "doubleValue",
IntegerValue = "integerValue",
StringValue = "stringValue"
}
}
},
IotTopicPublish = new IotTopicPublishProperty {
MqttTopic = "mqttTopic",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
},
Lambda = new LambdaProperty {
FunctionArn = "functionArn",
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
},
Sns = new SnsProperty {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
TargetArn = "targetArn"
},
Sqs = new SqsProperty {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
QueueUrl = "queueUrl",
UseBase64 = false
}
} }
};
Synopsis
Properties
| AlarmActions | Specifies one or more supported actions to receive notifications when the alarm state changes. |
Properties
AlarmActions
Specifies one or more supported actions to receive notifications when the alarm state changes.
object? AlarmActions { get; }