Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

strongishllama/aws-iam-constants

Deprecation Notice

Hi all, I'm deprecating this repository as I've moved the functionality provided in this package over to this repository and package. Hope to see you there :)

AWS IAM Constants

NPN version License: MIT CI

Introduction

  • Contains a generated enum list of all AWS IAM actions.
  • Start building AWS IAM policy statements without having to check for typos in your actions.
  • See a full list of available actions for a service.

Installation

npm install @strongishllama/aws-iam-constants

Example

new iam.PolicyStatement({
    actions: [
        DynamoDB.GET_ITEM,
        DynamoDB.PUT_ITEM,
        DynamoDB.QUERY
    ],
    resources: [
        `${table.tableArn}/index/*`,
        table.tableArn
    ]
})

About

This repository contains a generated enum list of all AWS IAM actions.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 5