iam-policies
TypeScript icon, indicating that this package has built-in type declarations

4.17.0 • Public • Published

iam-policies

NPM code style: prettier Build Status NPM downloads Coverage Status deno doc semantic-release

About

Define custom IAM Policies by allowed or denied set of actions against a set of resources with optional context and conditions.

Deny rules trump allow rules.

This is based of @ddt/iam and AWS Reference Policies .

Install

npm install --save iam-policies

Or

yarn add iam-policies

Deno import

// @deno-types="https://raw.githubusercontent.com/roggervalf/iam-policies/master/dist/main.d.ts"
import {
  ActionBasedPolicy,
  IdentityBasedPolicy,
  ResourceBasedPolicy
} from 'https://raw.githubusercontent.com/roggervalf/iam-policies/master/dist/main.es.js';

or

// @deno-types="https://deno.land/x/iam_policies@master/dist/main.d.ts"
import {
  ActionBasedPolicy,
  IdentityBasedPolicy,
  ResourceBasedPolicy
} from 'https://deno.land/x/iam_policies@master/dist/main.es.js';

Node import

import {
  ActionBasedPolicy,
  IdentityBasedPolicy,
  ResourceBasedPolicy
} from 'iam-policies';

Examples

Features

Supports these glob features:

Documentation

Please click on the language that you prefer

Article

How to build a Deno module

Contributing

Fork the repo, make some changes, submit a pull-request! Here is the contributing doc that has some details.

License

MIT © roggervalf

Package Sidebar

Install

npm i iam-policies

Weekly Downloads

11

Version

4.17.0

License

MIT

Unpacked Size

352 kB

Total Files

8

Last publish

Collaborators

  • rogger.794