@financial-times/n-url-management-api-read-client

Communicates directly with the DynamoDB tables.

Stats

StarsIssuesVersionUpdatedCreatedSize
@financial-times/n-url-management-api-read-client
6.0.12 months ago6 years agoMinified + gzip package size for @financial-times/n-url-management-api-read-client in KB

Readme

n-url-management-api-read-client

Communicates directly with the DynamoDB tables.

IAM Permissions

You will need the following IAM permissions:-

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:BatchGetItem"
      ],
      "Resource": "arn:aws:dynamodb:*:*:table/urlmgmtapi_*"
    }
  ]
}

Environment variables

Expects:-

  • URLMGMTAPI_AWS_ACCESS_KEY
  • URLMGMTAPI_AWS_SECRET_KEY

init options

  • timeout [Number]
  • connectTimeout [Number]
  • poolConnextions [Boolean]
  • raceOnce [Boolean] = don't keep checking up on the health of the dynamodbs. Use for a lambda environment

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.