AWS::IoTEvents Construct Library
This module is part of the AWS Cloud Development Kit project.
import * as iotevents from 'aws-cdk-lib/aws-iotevents';
import aws_cdk.aws_iotevents as iotevents
import software.amazon.awscdk.services.iotevents.*;
using Amazon.CDK.AWS.IoTEvents;
import iotevents "github.com/aws/aws-cdk-go/awscdk"
There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:
- Search Construct Hub for IoTEvents construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::IoTEvents resources directly.
An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
<span class="package-reference">@aws-cdk/aws-iotevents-alpha</span>
There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.
For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::IoTEvents.
(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)
Types
| Name | Kind | Summary |
|---|---|---|
CfnAlarmModel | Construct (L1) | Represents an alarm model to monitor an AWS IoT Events input attribute. |
CfnDetectorModel | Construct (L1) | The AWS::IoTEvents::DetectorModel resource creates a detector model. |
CfnInput | Construct (L1) | The AWS::IoTEvents::Input resource creates an input. |
CfnAlarmModel.AcknowledgeFlowProperty | Struct | Specifies whether to get notified for alarm state changes. |
CfnAlarmModel.AlarmActionProperty | Struct | Specifies one of the following actions to receive notifications when the alarm state changes. |
CfnAlarmModel.AlarmCapabilitiesProperty | Struct | Contains the configuration information of alarm state changes. |
CfnAlarmModel.AlarmEventActionsProperty | Struct | Contains information about one or more alarm actions. |
CfnAlarmModel.AlarmRuleProperty | Struct | Defines when your alarm is invoked. |
CfnAlarmModel.AssetPropertyTimestampProperty | Struct | A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference . |
CfnAlarmModel.AssetPropertyValueProperty | Struct | A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference . |
CfnAlarmModel.AssetPropertyVariantProperty | Struct | A structure that contains an asset property value. |
CfnAlarmModel.DynamoDBProperty | Struct | Defines an action to write to the Amazon DynamoDB table that you created. |
CfnAlarmModel.DynamoDBv2Property | Struct | Defines an action to write to the Amazon DynamoDB table that you created. |
CfnAlarmModel.FirehoseProperty | Struct | Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. |
CfnAlarmModel.InitializationConfigurationProperty | Struct | Specifies the default alarm state. |
CfnAlarmModel.IotEventsProperty | Struct | Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action. |
CfnAlarmModel.IotSiteWiseProperty | Struct | Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise . |
CfnAlarmModel.IotTopicPublishProperty | Struct | Information required to publish the MQTT message through the AWS IoT message broker. |
CfnAlarmModel.LambdaProperty | Struct | Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. |
CfnAlarmModel.PayloadProperty | Struct | Information needed to configure the payload. |
CfnAlarmModel.SimpleRuleProperty | Struct | A rule that compares an input property value to a threshold value with a comparison operator. |
CfnAlarmModel.SnsProperty | Struct | Information required to publish the Amazon SNS message. |
CfnAlarmModel.SqsProperty | Struct | Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue. |
CfnAlarmModelProps | Struct | Properties for defining a CfnAlarmModel. |
CfnDetectorModel.ActionProperty | Struct | An action to be performed when the condition is TRUE. |
CfnDetectorModel.AssetPropertyTimestampProperty | Struct | A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference . |
CfnDetectorModel.AssetPropertyValueProperty | Struct | A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference . |
CfnDetectorModel.AssetPropertyVariantProperty | Struct | A structure that contains an asset property value. |
CfnDetectorModel.ClearTimerProperty | Struct | Information needed to clear the timer. |
CfnDetectorModel.DetectorModelDefinitionProperty | Struct | Information that defines how a detector operates. |
CfnDetectorModel.DynamoDBProperty | Struct | Defines an action to write to the Amazon DynamoDB table that you created. |
CfnDetectorModel.DynamoDBv2Property | Struct | Defines an action to write to the Amazon DynamoDB table that you created. |
CfnDetectorModel.EventProperty | Struct | Specifies the actions to be performed when the condition evaluates to TRUE. |
CfnDetectorModel.FirehoseProperty | Struct | Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. |
CfnDetectorModel.IotEventsProperty | Struct | Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action. |
CfnDetectorModel.IotSiteWiseProperty | Struct | Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise . |
CfnDetectorModel.IotTopicPublishProperty | Struct | Information required to publish the MQTT message through the AWS IoT message broker. |
CfnDetectorModel.LambdaProperty | Struct | Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. |
CfnDetectorModel.OnEnterProperty | Struct | When entering this state, perform these actions if the condition is TRUE. |
CfnDetectorModel.OnExitProperty | Struct | When exiting this state, perform these actions if the specified condition is TRUE . |
CfnDetectorModel.OnInputProperty | Struct | Specifies the actions performed when the condition evaluates to TRUE. |
CfnDetectorModel.PayloadProperty | Struct | Information needed to configure the payload. |
CfnDetectorModel.ResetTimerProperty | Struct | Information required to reset the timer. |
CfnDetectorModel.SetTimerProperty | Struct | Information needed to set the timer. |
CfnDetectorModel.SetVariableProperty | Struct | Information about the variable and its new value. |
CfnDetectorModel.SnsProperty | Struct | Information required to publish the Amazon SNS message. |
CfnDetectorModel.SqsProperty | Struct | Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue. |
CfnDetectorModel.StateProperty | Struct | Information that defines a state of a detector. |
CfnDetectorModel.TransitionEventProperty | Struct | Specifies the actions performed and the next state entered when a condition evaluates to TRUE. |
CfnDetectorModelProps | Struct | Properties for defining a CfnDetectorModel. |
CfnInput.AttributeProperty | Struct | The attributes from the JSON payload that are made available by the input. |
CfnInput.InputDefinitionProperty | Struct | The definition of the input. |
CfnInputProps | Struct | Properties for defining a CfnInput. |