Interface OpenSearchActionProps
- All Superinterfaces:
CommonActionProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OpenSearchActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:41.795Z")
@Stability(Experimental)
public interface OpenSearchActionProps
extends software.amazon.jsii.JsiiSerializable, CommonActionProps
(experimental) Configuration properties of an action for Open Search.
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 TypeInterfaceDescriptionstatic final class
A builder forOpenSearchActionProps
static final class
An implementation forOpenSearchActionProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.iot.actions.alpha.CommonActionProps
getRole
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
(experimental) The unique identifier for the document you are storing. -
getIndex
(experimental) The OpenSearch index where you want to store your data. -
getType
(experimental) The type of document you are storing. -
builder
- Returns:
- a
OpenSearchActionProps.Builder
ofOpenSearchActionProps
-