interface ElasticsearchActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.ElasticsearchActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_ElasticsearchActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.ElasticsearchActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.ElasticsearchActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const elasticsearchActionProperty: iot_mixins.CfnTopicRulePropsMixin.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
(optional)
The endpoint of your OpenSearch domain.
id?
Type:
string
(optional)
The unique identifier for the document you are storing.
index?
Type:
string
(optional)
The index where you want to store your data.
roleArn?
Type:
string
(optional)
The IAM role ARN that has access to OpenSearch.
type?
Type:
string
(optional)
The type of document you are storing.

.NET
Go
Java
Python
TypeScript