java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.SqsQueueAction
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:19.328Z") @Stability(Experimental) public class SqsQueueAction extends software.amazon.jsii.JsiiObject implements IAction
(experimental) The action to write the data from an MQTT message to an Amazon SQS queue.

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for SqsQueueAction.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.alpha.IAction

    IAction.Jsii$Default, IAction.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
     
     
    protected
    SqsQueueAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    SqsQueueAction(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • SqsQueueAction

      protected SqsQueueAction(software.amazon.jsii.JsiiObjectRef objRef)
    • SqsQueueAction

      protected SqsQueueAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SqsQueueAction

      @Stability(Experimental) public SqsQueueAction(@NotNull IQueue queue, @Nullable SqsQueueActionProps props)
      Parameters:
      queue - The Amazon SQS queue to which to write data. This parameter is required.
      props - Optional properties to not use default.
    • SqsQueueAction

      @Stability(Experimental) public SqsQueueAction(@NotNull IQueue queue)
      Parameters:
      queue - The Amazon SQS queue to which to write data. This parameter is required.