@Stability(value=Stable)
public static interface CfnTopicRule.ElasticsearchActionProperty
extends software.amazon.jsii.JsiiSerializable
The
Elasticsearchaction can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearchrule 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() |
String |
getEndpoint()
The endpoint of your OpenSearch domain.
|
String |
getId()
The unique identifier for the document you are storing.
|
String |
getIndex()
The index where you want to store your data.
|
String |
getRoleArn()
The IAM role ARN that has access to OpenSearch.
|
String |
getType()
The type of document you are storing.
|
@Stability(value=Stable) @NotNull String getEndpoint()
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @NotNull String getIndex()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) static CfnTopicRule.ElasticsearchActionProperty.Builder builder()
Copyright © 2022. All rights reserved.