Skip to main content

AWS IAM policy statement generator with fluent interface

Project description

IAM Floyd

Source iam-floyd Twitter Documentation GitHub Maintainability

AWS IAM policy statement generator with fluent interface.

Support for:

  • 310 Services
  • 12283 Actions
  • 1295 Resource Types
  • 1304 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.


Find the documentation at Read the Docs.

Auto completion demo


There are two different package variants available:

  • iam-floyd: Can be used in AWS SDK, Boto 3 or for whatever you need an IAM policy statement for
    npm PyPI

  • cdk-iam-floyd: Integrates into AWS CDK and extends iam.PolicyStatement
    npm PyPI

    Starting with version 0.300.0, the packages are compatible with CDK v2. For CDK v1 you can use any version up to:
    npm CDK v1 PyPI CDK v1

    Starting with CDK v1.152.0 you have to use cdk-iam-floyd v0.286.0.
    Starting with CDK v2.20.0 you have to use cdk-iam-floyd >= v0.351.0.

Find them all on


The code contained in the lib/generated folder is generated from the AWS documentation. 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. Dependencies might be released under different licenses. Especially the bundled packages regex-parser and common-substrings are released under the MIT License.

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iam-floyd-0.373.0.tar.gz (4.6 MB view hashes)

Uploaded source

Built Distribution

iam_floyd-0.373.0-py3-none-any.whl (4.6 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page