Interface CfnAlarmModel.FirehoseProperty

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

@Stability(Stable) public static interface CfnAlarmModel.FirehoseProperty extends software.amazon.jsii.JsiiSerializable
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.

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.*;
 FirehoseProperty firehoseProperty = FirehoseProperty.builder()
         .deliveryStreamName("deliveryStreamName")
         // the properties below are optional
         .payload(PayloadProperty.builder()
                 .contentExpression("contentExpression")
                 .type("type")
                 .build())
         .separator("separator")
         .build();
 
  • Method Details

    • getDeliveryStreamName

      @Stability(Stable) @NotNull String getDeliveryStreamName()
      The name of the Kinesis Data Firehose delivery stream 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 Kinesis Data Firehose delivery stream.
    • getSeparator

      @Stability(Stable) @Nullable default String getSeparator()
      A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream.

      Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

    • builder

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