aws-actions-list
v1.0.3
Published
A list of all documented AWS actions for IAM Policy Document.
Downloads
7
Readme
Table of Contents
Features
| FEATURES | WHAT YOU CAN DO |
|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
| 🌏 Fetches all policy actions | Don't give up to write PolicyDocument
|
| 📄 Only documented actions | All actions are fetched from official online documents |
| 🔄 Always up-to-date | Fetched actions are always up-to-date |
| 💭 Interactive Filtering | You can extract only actions you want |
Quick Start
Requirements
- Node.js 8.0.0 or higher
- npm or Yarn
Installation
$ npm install -g aws-actions-list
aws-actions-list is CLI program so recommend to install globally.
If you use Yarn, use the following command.
$ yarn global add aws-actions-list
Basic Command
show
$ aws-actions-list show
Gets all services and acitons and you can extract actions you want.
Extracting Columns
When you extract two or more columns, aws-actions-list outputs actions as object (hash/dictionary/set) in array.
[
{
"name": "appsync:CreateApiKey",
"description": "Creates a unique key that you can distribute to clients who are executing your API.",
"documentURI": "https://docs.aws.amazon.com/appsync/latest/APIReference/API_CreateApiKey.html"
},
{
"name": "appsync:CreateDataSource",
"description": "Creates a DataSource object.",
"documentURI": "https://docs.aws.amazon.com/appsync/latest/APIReference/API_CreateDataSource.html"
}
]
When you extract one column, aws-actions-list outputs actions as string in array. name
column is selected by default.
[
"appsync:CreateApiKey",
"appsync:CreateDataSource"
]
Output Format
Currently aws-actions-list supports to output actions as JSON or YAML format.
? Select an output type (Use arrow keys)
❯ json
yaml
Contributing to aws-actions-list
Bug reports and pull requests are welcome on GitHub at https://github.com/jagaapple/aws-actions-list. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Please read Contributing Guidelines before development and contributing.
License
The library is available as open source under the terms of the MIT License.
Copyright 2019 Jaga Apple. All rights reserved.