@atoto/aws-ecs-service-discovery
Amazon ECS service discovery helper
Last updated 9 months ago by michalkvasnicak .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @atoto/aws-ecs-service-discovery 
SYNC missed versions from official npm registry.

@atoto/aws-esc-service-discovery

npm install @atoto/aws-ecs-service-discovery
# or
yarn add @atoto/aws-ecs-service-discovery

## Usage

import { waitForServices } from '@atoto/aws-ecs-service-discovery';

await waitForServices({
  // optional check interval in ms, service discovery will wait for N ms until it'll check for services again
  checkInterval: 500,
  cluster: 'cluster-short-name-or-arn',
  // service name will be matched against service name (check if service name starts with this string)
  services: ['service-name'],
  // optional timeout in ms, if no services are running in this time, wait fill fail
  timeout: 30 * 1000,
});

Current Tags

  • 0.2.0                                ...           latest (9 months ago)

1 Versions

  • 0.2.0                                ...           9 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |