Class OpenSearchAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.OpenSearchAction
- All Implemented Interfaces:
IAction,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:27:03.698Z")
@Stability(Experimental)
public class OpenSearchAction
extends software.amazon.jsii.JsiiObject
implements IAction
(experimental) The action to write data to an Amazon OpenSearch Service domain.
Example:
import software.amazon.awscdk.services.opensearchservice.*;
Domain domain;
TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
.sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'"))
.build();
topicRule.addAction(OpenSearchAction.Builder.create(domain)
.id("my-id")
.index("my-index")
.type("my-type")
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forOpenSearchAction.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.alpha.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionOpenSearchAction(Domain domain, OpenSearchActionProps props) protectedOpenSearchAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedOpenSearchAction(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
OpenSearchAction
protected OpenSearchAction(software.amazon.jsii.JsiiObjectRef objRef) -
OpenSearchAction
protected OpenSearchAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
OpenSearchAction
@Stability(Experimental) public OpenSearchAction(@NotNull Domain domain, @NotNull OpenSearchActionProps props) - Parameters:
domain- This parameter is required.props- This parameter is required.
-