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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDetectorModel.SqsProperty
static final class
An implementation forCfnDetectorModel.SqsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
You 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 Object
Set 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.- See Also:
-
getPayload
You can configure the action payload when you send a message to an Amazon SQS queue.- See Also:
-
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.
- See Also:
-
builder
-