$npx skillfedfor your agent

cdk-iam-floyd

AWS IAM policy statement generator with fluent interface for AWS CDK

With conditionsPyPI Build ToolsReleased Apr 202398.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cdk_iam_floyd-0.507.0-py3-none-any.whl
v0.507.0 · released 2023-04-12 · Python ~=3.7 · 5 runtime deps: aws-cdk-lib, constructs, jsii, publication, typeguard

Yes, if you use AWS CDK and want to reduce IAM policy boilerplate. The package has low install friction, active maintenance, and permissive licensing. Pin to version 0.507.0 or later and verify CDK compatibility (>= 2.30.0); accept that the API is still Beta and may change before 1.0.0. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires AWS CDK v2.0.0 or later; version 0.507.0 requires CDK >= 2.30.0 per the compatibility matrix.
  • Low install friction with a pure-Python wheel and five runtime dependencies.
  • Actively maintained with recent commits; marked Beta but in use across the top 15000 PyPI packages.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license; dependencies bundled under MIT (regex-parser, common-substrings) and other licenses—review dependency licenses if redistribution is planned.

last release 2023-04-12 (1220 days) · last repo commit 2026-08-14 · 573 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,182 downloads/mo, #13,099 on PyPI

Verify before relying

pip install cdk-iam-floyd

from cdk_iam_floyd import iam

statement = iam.Ec2().allow().describe_instances().build()
  • Whether the package's Beta status (Development Status :: 4) impacts production readiness for your use case.
  • Exact CDK version compatibility for version 0.507.0 beyond the stated >= 2.30.0 threshold.
Same gist for agents: .md · .json

What it is and what it does

cdk-iam-floyd is a Python wrapper around AWS IAM policy statement generation, designed to integrate directly into AWS CDK constructs. It provides a fluent, type-safe interface to build IAM policies by chaining method calls rather than hand-writing JSON—for example, calling `.allow().describe_instances()` on an EC2 service object generates the corresponding policy statement. The package maintains coverage of 353 AWS services with their associated actions, resource types, and condition keys, all generated from AWS documentation.

The package depends on aws-cdk-lib, constructs, jsii, publication, and typeguard to bridge Python and CDK's JavaScript runtime and provide type safety. It is marked as Beta and has not reached 1.0.0, meaning the API may change; the maintainer recommends pinning to an exact version. The project is actively maintained with recent commits and is used by a significant portion of the PyPI ecosystem.

Use it for

  • Build least-privilege IAM policies in CDK stacks using method chaining instead of hand-written JSON.
  • Generate policy statements for multiple AWS services with autocomplete and type hints in Python IDEs.
  • Ensure policy syntax correctness by leveraging the fluent interface to catch errors at development time.
  • Manage condition keys and resource types programmatically for complex multi-service policies.
  • Integrate IAM policy generation into infrastructure-as-code pipelines without context switching to JSON.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use AWS CDK and want to reduce IAM policy boilerplate.

The package has low install friction, active maintenance, and permissive licensing. Pin to version 0.507.0 or later and verify CDK compatibility (>= 2.30.0); accept that the API is still Beta and may change before 1.0.0. No known vulnerabilities.

Install

cdk-iam-floyd on PyPI

Before you install

Low install friction with a pure-Python wheel and five runtime dependencies. Actively maintained with recent commits; marked Beta but in use across the top 15000 PyPI packages.

Requires AWS CDK v2.0.0 or later; version 0.507.0 requires CDK >= 2.30.0 per the compatibility matrix.

License in practice

Apache-2.0 permissive license; dependencies bundled under MIT (regex-parser, common-substrings) and other licenses—review dependency licenses if redistribution is planned.

Quickstart

pip install cdk-iam-floyd

from cdk_iam_floyd import iam

statement = iam.Ec2().allow().describe_instances().build()

Verify before relying

  • Whether the package's Beta status (Development Status :: 4) impacts production readiness for your use case.
  • Exact CDK version compatibility for version 0.507.0 beyond the stated >= 2.30.0 threshold.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release ~=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
aws-cdk-libconstructsjsiipublicationtypeguard
MaintenanceActively maintained 1,220 days since the last release
Last repo commit
First released
Downloads98,182 / month, #13,099 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Evidence: cdk_iam_floyd-0.507.0-py3-none-any.whl

Tags

Capabilities
AWS IAM policy generatorCDK IAM policy builderfluent IAM statementAWS policy as codeCDK policy construction
Topics
aws-cdkiam-policyinfrastructure-as-code

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “CDK IAM policy builder”

  • cdk-iam-floydGenerates AWS IAM policy statements with a fluent interface,…
  • aws-cdk.aws-iamProvides Python constructs for defining AWS IAM roles, policies,…
  • awacsawacs generates AWS IAM policy JSON from Python code, with built-in…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also aws-cdk.aws-iam · policyuniverse · aws-cdk.aws-kms · awacs · iamdata · aws-cdk.aws-logs · aws-cdk.aws-neptune-alpha · cdk-cloudformation-datadog-monitors-monitor · aws-cdk.cx-api · aws-cdk.aws-ecr