Interface SqsQueueActionProps
- All Superinterfaces:
CommonActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SqsQueueActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.030Z")
@Stability(Experimental)
public interface SqsQueueActionProps
extends software.amazon.jsii.JsiiSerializable, CommonActionProps
(experimental) Configuration properties of an action for SQS.
Example:
import software.amazon.awscdk.services.sqs.*; Queue queue = new Queue(this, "MyQueue"); TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule") .sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'")) .actions(List.of( SqsQueueAction.Builder.create(queue) .useBase64(true) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSqsQueueActionProps
static final class
An implementation forSqsQueueActionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic SqsQueueActionProps.Builder
builder()
default Boolean
(experimental) Specifies whether to use Base64 encoding.Methods inherited from interface software.amazon.awscdk.services.iot.actions.CommonActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUseBase64
(experimental) Specifies whether to use Base64 encoding.Default: false
-
builder
- Returns:
- a
SqsQueueActionProps.Builder
ofSqsQueueActionProps
-