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.104.0 (build e79254c)",
date="2024-11-22T02:24:11.975Z")
@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
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forOpenSearchAction
.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
ModifierConstructorDescriptionOpenSearchAction
(Domain domain, OpenSearchActionProps props) protected
OpenSearchAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
OpenSearchAction
(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
-
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.
-