interface SqsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTEvents.CfnAlarmModel.SqsProperty |
Java | software.amazon.awscdk.services.iotevents.CfnAlarmModel.SqsProperty |
Python | aws_cdk.aws_iotevents.CfnAlarmModel.SqsProperty |
TypeScript | @aws-cdk/aws-iotevents » CfnAlarmModel » SqsProperty |
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotevents from '@aws-cdk/aws-iotevents';
const sqsProperty: iotevents.CfnAlarmModel.SqsProperty = {
queueUrl: 'queueUrl',
// the properties below are optional
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
useBase64: false,
};
Properties
Name | Type | Description |
---|---|---|
queue | string | The URL of the SQS queue where the data is written. |
payload? | IResolvable | Payload | You can configure the action payload when you send a message to an Amazon SQS queue. |
use | boolean | IResolvable | Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. |
queueUrl
Type:
string
The URL of the SQS queue where the data is written.
payload?
Type:
IResolvable
|
Payload
(optional)
You can configure the action payload when you send a message to an Amazon SQS queue.
useBase64?
Type:
boolean |
IResolvable
(optional)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
Otherwise, set this to FALSE.