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 theOpenSearch
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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopicRule.ElasticsearchActionProperty
static final class
An implementation forCfnTopicRule.ElasticsearchActionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The endpoint of your OpenSearch domain.getId()
The unique identifier for the document you are storing.getIndex()
The index where you want to store your data.The IAM role ARN that has access to OpenSearch.getType()
The type of document you are storing.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpoint
The endpoint of your OpenSearch domain.- See Also:
-
getId
The unique identifier for the document you are storing.- See Also:
-
getIndex
The index where you want to store your data.- See Also:
-
getRoleArn
The IAM role ARN that has access to OpenSearch.- See Also:
-
getType
The type of document you are storing.- See Also:
-
builder
-