AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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.

Inheritance Hierarchy


Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z


public class ElasticsearchAction

The ElasticsearchAction type exposes the following members


Public Method ElasticsearchAction()


Public Property Endpoint System.String

Gets and sets the property Endpoint.

The endpoint of your OpenSearch domain.

Public Property Id System.String

Gets and sets the property Id.

The unique identifier for the document you are storing.

Public Property Index System.String

Gets and sets the property Index.

The index where you want to store your data.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The IAM role ARN that has access to OpenSearch.

Public Property Type System.String

Gets and sets the property Type.

The type of document you are storing.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5