aws-cdk-lib.aws_iotevents.CfnDetectorModel.SqsProperty

interface SqsProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTEvents.CfnDetectorModel.SqsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnDetectorModel_SqsProperty
Javasoftware.amazon.awscdk.services.iotevents.CfnDetectorModel.SqsProperty
Pythonaws_cdk.aws_iotevents.CfnDetectorModel.SqsProperty
TypeScript aws-cdk-lib » aws_iotevents » CfnDetectorModel » 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 { aws_iotevents as iotevents } from 'aws-cdk-lib';
const sqsProperty: iotevents.CfnDetectorModel.SqsProperty = {
  queueUrl: 'queueUrl',

  // the properties below are optional
  payload: {
    contentExpression: 'contentExpression',
    type: 'type',
  },
  useBase64: false,
};

Properties

NameTypeDescription
queueUrlstringThe URL of the SQS queue where the data is written.
payload?IResolvable | PayloadPropertyYou can configure the action payload when you send a message to an Amazon SQS queue.
useBase64?boolean | IResolvableSet 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 | PayloadProperty (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.