Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

HttpAmazonESConnector

A Connection handler for Amazon ES.

Uses the aws-sdk to make signed requests to an Amazon ES endpoint. Define the Amazon ES config and the connection handler in the client configuration.

Ported from: https://www.npmjs.com/package/http-aws-es

ParamTypeDescription
clientObjectThe options object passed to the Client class
client.connectionClassClassThe new connection class aws-lambda-elasticsearch
[client.amazonConfig]ObjectSpecify Amazon specific configuration
[client.amazonConfig.region]StringThe region of the search cluster. Falls back to process.env.AWS_REGION or 'us-east-1'

Example

vares=require('elasticsearch').Client({hosts: 'https://amazon-es-host.us-east-1.es.amazonaws.com',connectionClass: require('aws-lambda-elasticsearch'),amazonConfig: {region: 'us-east-1'}});

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages