public static interface CfnTopicRule.ElasticsearchActionProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTopicRule.ElasticsearchActionProperty.Builder
A builder for
CfnTopicRule.ElasticsearchActionProperty |
static class |
CfnTopicRule.ElasticsearchActionProperty.Jsii$Proxy
An implementation for
CfnTopicRule.ElasticsearchActionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTopicRule.ElasticsearchActionProperty.Builder |
builder() |
java.lang.String |
getEndpoint()
The endpoint of your OpenSearch domain.
|
java.lang.String |
getId()
The unique identifier for the document you are storing.
|
java.lang.String |
getIndex()
The index where you want to store your data.
|
java.lang.String |
getRoleArn()
The IAM role ARN that has access to OpenSearch.
|
java.lang.String |
getType()
The type of document you are storing.
|
java.lang.String getEndpoint()
java.lang.String getId()
java.lang.String getIndex()
java.lang.String getRoleArn()
java.lang.String getType()
static CfnTopicRule.ElasticsearchActionProperty.Builder builder()