Interface CfnAlarmModel.SqsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAlarmModel.SqsProperty.Jsii$Proxy
Enclosing class:
CfnAlarmModel

@Stability(Stable) public static interface CfnAlarmModel.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();
 
  • Method Details

    • getQueueUrl

      @Stability(Stable) @NotNull String getQueueUrl()
      The URL of the SQS queue where the data is written.
    • getPayload

      @Stability(Stable) @Nullable default Object getPayload()
      You can configure the action payload when you send a message to an Amazon SQS queue.
    • getUseBase64

      @Stability(Stable) @Nullable default Object 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

      @Stability(Stable) static CfnAlarmModel.SqsProperty.Builder builder()
      Returns:
      a CfnAlarmModel.SqsProperty.Builder of CfnAlarmModel.SqsProperty