Interface OpenSearchActionProps

All Superinterfaces:
CommonActionProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
OpenSearchActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-08-02T00:29:19.849Z") @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());
 
  • Method Details

    • getId

      @Stability(Experimental) @NotNull String getId()
      (experimental) The unique identifier for the document you are storing.
    • getIndex

      @Stability(Experimental) @NotNull String getIndex()
      (experimental) The OpenSearch index where you want to store your data.
    • getType

      @Stability(Experimental) @NotNull String getType()
      (experimental) The type of document you are storing.
    • builder

      @Stability(Experimental) static OpenSearchActionProps.Builder builder()
      Returns:
      a OpenSearchActionProps.Builder of OpenSearchActionProps