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

9.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

73

Version

9.1.0

License

none

Unpacked Size

1.14 MB

Total Files

51

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson