https://github.com/udondan/iam-floyd
AWS IAM policy statement generator with fluent interface
https://github.com/udondan/iam-floyd
aws aws-cdk cdk generator hacktoberfest iam iam-policy jsii
Last synced: 10 days ago
JSON representation
AWS IAM policy statement generator with fluent interface
- Host: GitHub
- URL: https://github.com/udondan/iam-floyd
- Owner: udondan
- License: apache-2.0
- Created: 2020-06-01T18:33:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T01:38:53.000Z (11 days ago)
- Last Synced: 2025-04-13T03:59:28.634Z (10 days ago)
- Topics: aws, aws-cdk, cdk, generator, hacktoberfest, iam, iam-policy, jsii
- Language: TypeScript
- Homepage: https://iam-floyd.readthedocs.io/
- Size: 20.9 MB
- Stars: 556
- Watchers: 4
- Forks: 19
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG/v0.100.0.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cdk - cdk-iam-floyd - IAM policy statement generator with fluent interface. (Construct Libraries / Security)
- awesome-cdk - cdk-iam-floyd - IAM policy statement generator with fluent interface. (Construct Libraries / Security)
README
# IAM Floyd
[][source]
[][source]
[][mastodon]
[][libraries.io]
[][documentation]
[][license]**AWS [IAM policy statement][statement] generator with fluent interface.**
Support for:
- 418 Services
- 18428 Actions
- 1977 Resource Types
- 1938 Condition keys**
This is an early version of the package. The API will change while I implement new features. Therefore make sure you use an exact version in your `package.json` before it reaches 1.0.0.**## Documentation
Find the documentation at [Read the Docs][documentation].
[](https://www.youtube.com/watch?v=4dHY8qPHbKA 'Auto completion demo')
## Packages
There are two different package variants available:
- **iam-floyd**: Can be used in AWS SDK or for whatever you need an IAM policy statement for
[](https://www.npmjs.com/package/iam-floyd)
- **cdk-iam-floyd**: Integrates into [AWS CDK] and extends [`iam.PolicyStatement`](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-iam.PolicyStatement.html)
[](https://www.npmjs.com/package/cdk-iam-floyd)**Starting with version 0.300.0, the packages are compatible with CDK v2.** For CDK v1 you can use any version up to:
[](https://www.npmjs.com/package/cdk-iam-floyd/v/0.286.0)Find them all on [libraries.io].
## CDK Compatibility Matrix
| CDK | cdk-iam-floyd |
| ---------- | -------------------------- |
| <= 1.151.0 | <= 0.285.0 |
| >= 1.152.0 | 0.286.0 |
| >= 1.158.0 | **No compatible version!** |
| >= 2.0.0 | >= 0.300.0 |
| >= 2.20.0 | >= 0.351.0 |
| >= 2.26.0 | >= 0.377.0 |
| 2.29.x | **No compatible version!** |
| >= 2.30.0 | >= 0.391.0 |---
## Legal
The code contained in the [lib/generated](https://github.com/udondan/iam-floyd/tree/main/lib/generated) folder is generated from the [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html). The class- and function-names and their description therefore are property of AWS.
AWS and their services are trademarks, registered trademarks or trade dress of AWS in the U.S. and/or other countries.
This project is not affiliated, funded, or in any way associated with AWS.
IAM Floyd is licensed under [Apache License 2.0][license]. Dependencies might be released under different licenses.
[source]: https://github.com/udondan/iam-floyd
[documentation]: https://iam-floyd.readthedocs.io/en/latest/
[npm]: https://www.npmjs.com/package/iam-floyd
[license]: https://github.com/udondan/iam-floyd/blob/main/LICENSE
[statement]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_statement.html
[libraries.io]: https://libraries.io/search?q=iam-floyd
[AWS CDK]: https://aws.amazon.com/cdk/
[mastodon]: https://awscommunity.social/@iamfloyd