interface SqsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnDetectorModelPropsMixin.SqsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnDetectorModelPropsMixin_SqsProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnDetectorModelPropsMixin.SqsProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnDetectorModelPropsMixin.SqsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » CfnDetectorModelPropsMixin » 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 { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const sqsProperty: iotevents_mixins.CfnDetectorModelPropsMixin.SqsProperty = {
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
queueUrl: 'queueUrl',
useBase64: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| payload? | IResolvable | Payload | You can configure the action payload when you send a message to an Amazon SQS queue. |
| queue | string | The URL of the SQS queue where the data is written. |
| use | boolean | IResolvable | Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. |
payload?
Type:
IResolvable | Payload
(optional)
You can configure the action payload when you send a message to an Amazon SQS queue.
queueUrl?
Type:
string
(optional)
The URL of the SQS queue where the data is written.
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.

.NET
Go
Java
Python
TypeScript