aws-es-client

1.3.6 • Public • Published

GitHub Actions workflows status

Build workflow status Publish workflow status

CodeClimate


Installation

npm i aws-es-client

API documentation

Modules

Module Description
aws-es-client Creates a new client connected to your AWS ElasticSearch cluster.

Typedefs

Name Description
Options ElasticSearch client options

aws-es-client

Creates a new client connected to your AWS ElasticSearch cluster.

Once the client has been instanciated, you can use all the methods available in the regular ElasticSearch Node client. See here for details.

Returns: ES - New ElasticSearch client

Param Type Description
opts Options Options to be passed to instanciate a new client

Example

const ES = require('aws-es-client')({
 url: process.env.ES_CLUSTER_URL,
 id: process.env.ES_ID,
 token: process.env.ES_SECRET
})

Options

ElasticSearch client options

Kind: global typedef
Properties

Name Type Default Description
url string ElasticSearch cluster URL
id string Programmatic user ID (needs access to ElasticSearch cluster)
token string Programmatic user token (needs access to ElasticSearch cluster)
[region] string 'eu-central-1' ElasticSearch cluster region

Readme

Keywords

none

Package Sidebar

Install

npm i aws-es-client

Weekly Downloads

1

Version

1.3.6

License

MIT

Unpacked Size

13.1 kB

Total Files

11

Last publish

Collaborators

  • holgerwill
  • alexlemaire