Interface CfnTopicRule.ElasticsearchActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopicRule.ElasticsearchActionProperty.Jsii$Proxy
Enclosing class:
CfnTopicRule

@Stability(Stable) public static interface CfnTopicRule.ElasticsearchActionProperty extends software.amazon.jsii.JsiiSerializable
Describes an action that writes data to an Amazon OpenSearch Service domain.

The Elasticsearch action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the OpenSearch rule action instead. For more information, see OpenSearchAction .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iot.*;
 ElasticsearchActionProperty elasticsearchActionProperty = ElasticsearchActionProperty.builder()
         .endpoint("endpoint")
         .id("id")
         .index("index")
         .roleArn("roleArn")
         .type("type")
         .build();
 

See Also: