Interface CfnDetectorModel.SqsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetectorModel.SqsProperty.Jsii$Proxy
- Enclosing class:
- CfnDetectorModel
@Stability(Stable)
public static interface CfnDetectorModel.SqsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotevents.*;
SqsProperty sqsProperty = SqsProperty.builder()
.queueUrl("queueUrl")
// the properties below are optional
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.useBase64(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetectorModel.SqsPropertystatic final classAn implementation forCfnDetectorModel.SqsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectYou can configure the action payload when you send a message to an Amazon SQS queue.The URL of the SQS queue where the data is written.default ObjectSet this to TRUE if you want the data to be base-64 encoded before it is written to the queue.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueueUrl
The URL of the SQS queue where the data is written. -
getPayload
You can configure the action payload when you send a message to an Amazon SQS queue. -
getUseBase64
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.
-
builder
-