Class FirehosePutRecordAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.FirehosePutRecordAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.990Z")
@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.*; import software.amazon.awscdk.services.kinesisfirehose.destinations.*; Bucket bucket = new Bucket(this, "MyBucket"); DeliveryStream stream = DeliveryStream.Builder.create(this, "MyStream") .destinations(List.of(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.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
Modifier and TypeMethodDescriptionbind
(ITopicRule rule) (experimental) Returns the topic rule action specification.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.
-
-
Method Details