interface ElasticsearchActionProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.IoT.CfnTopicRule.ElasticsearchActionProperty | 
|  Java | software.amazon.awscdk.services.iot.CfnTopicRule.ElasticsearchActionProperty | 
|  Python | aws_cdk.aws_iot.CfnTopicRule.ElasticsearchActionProperty | 
|  TypeScript | @aws-cdk/aws-iot»CfnTopicRule»ElasticsearchActionProperty | 
Describes an action that writes data to an Amazon OpenSearch Service domain.
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 * as iot from '@aws-cdk/aws-iot';
const elasticsearchActionProperty: iot.CfnTopicRule.ElasticsearchActionProperty = {
  endpoint: 'endpoint',
  id: 'id',
  index: 'index',
  roleArn: 'roleArn',
  type: 'type',
};
Properties
| Name | Type | Description | 
|---|---|---|
| endpoint | string | The endpoint of your OpenSearch domain. | 
| id | string | The unique identifier for the document you are storing. | 
| index | string | The index where you want to store your data. | 
| role | string | The IAM role ARN that has access to OpenSearch. | 
| type | string | The type of document you are storing. | 
endpoint
Type:
string
The endpoint of your OpenSearch domain.
id
Type:
string
The unique identifier for the document you are storing.
index
Type:
string
The index where you want to store your data.
roleArn
Type:
string
The IAM role ARN that has access to OpenSearch.
type
Type:
string
The type of document you are storing.
