Class FirehosePutRecordAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.FirehosePutRecordAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:07.669Z")
@Stability(Experimental)
public class FirehosePutRecordAction
extends software.amazon.jsii.JsiiObject
implements IAction
(experimental) The action to put the record from an MQTT message to the Kinesis Data Firehose stream.
Example:
import software.amazon.awscdk.services.kinesisfirehose.alpha.*; import software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.*; Bucket bucket = new Bucket(this, "MyBucket"); DeliveryStream stream = DeliveryStream.Builder.create(this, "MyStream") .destination(new S3Bucket(bucket)) .build(); TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule") .sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'")) .actions(List.of( FirehosePutRecordAction.Builder.create(stream) .batchMode(true) .recordSeparator(FirehoseRecordSeparator.NEWLINE) .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forFirehosePutRecordAction
.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
ModifierConstructorDescriptionFirehosePutRecordAction
(IDeliveryStream stream, FirehosePutRecordActionProps props) protected
FirehosePutRecordAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
FirehosePutRecordAction
(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
-
FirehosePutRecordAction
protected FirehosePutRecordAction(software.amazon.jsii.JsiiObjectRef objRef) -
FirehosePutRecordAction
protected FirehosePutRecordAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
FirehosePutRecordAction
@Stability(Experimental) public FirehosePutRecordAction(@NotNull IDeliveryStream stream, @Nullable FirehosePutRecordActionProps props) - Parameters:
stream
- The Kinesis Data Firehose stream to which to put records. This parameter is required.props
- Optional properties to not use default.
-
FirehosePutRecordAction
- Parameters:
stream
- The Kinesis Data Firehose stream to which to put records. This parameter is required.
-