ElasticsearchAction - Amazon IoT
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ElasticsearchAction

Describes an action that writes data to an Amazon OpenSearch Service domain.

Note

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 the OpenSearch rule action instead. For more information, see OpenSearchAction.

Contents

endpoint

The endpoint of your OpenSearch domain.

Type: String

Pattern: https?://.*

Required: Yes

id

The unique identifier for the document you are storing.

Type: String

Required: Yes

index

The index where you want to store your data.

Type: String

Required: Yes

roleArn

The IAM role ARN that has access to OpenSearch.

Type: String

Required: Yes

type

The type of document you are storing.

Type: String

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: