skillfed

pulumi-aws

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

pulumi-aws v7.42.0 6.0M downloads/30d#2,001 on PyPI578
Permissive license Apache-2.0 Active released

What it is and what it does

pulumi_aws is the Python SDK for Pulumi's AWS resource provider, allowing you to write infrastructure as code in Python rather than YAML or domain-specific languages. It exposes the full breadth of AWS services through strongly-typed Python classes, covering EC2, Lambda, S3, IAM, ECS, CloudFormation, API Gateway, and many others. You define your cloud resources in Python, then use the Pulumi CLI to plan and deploy them to AWS.

The package includes convenience APIs like `aws.lambda.CallbackFunction` that simplify common patterns—for example, defining a Lambda function directly from a Python function object, or wiring it to S3 bucket events or CloudWatch timers. Configuration is handled through Pulumi's standard stack configuration system, supporting AWS credentials via environment variables, shared credentials files, profiles, or assume-role flows. The package depends on pulumi (the core framework), parver, semver, and typing-extensions.

Use it for:

  • Define and deploy multi-service AWS applications (EC2, RDS, Lambda, S3) in a single Python program.
  • Create reusable infrastructure components and libraries for teams to standardize cloud deployments.
  • Automate Lambda function creation and S3 event triggers without writing CloudFormation templates.
  • Manage AWS IAM roles, policies, and permissions programmatically with type safety.
  • Implement infrastructure testing and validation as part of your CI/CD pipeline.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Pulumi AWS provider for Python that lets you define, deploy, and manage AWS cloud infrastructure as code using Python programs.

Yes, if you are already using Pulumi and need to provision AWS resources from Python. The package is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. Install only if you have the Pulumi CLI set up and an AWS account configured; it is not a standalone AWS SDK.

Install

pulumi-aws on PyPI

pip

pip install pulumi-aws

uv

uv add pulumi-aws

poetry

poetry add pulumi-aws

Installing pulumi-aws

Before you install

Low install friction; the package is a pure-Python wheel with four straightforward runtime dependencies. Actively maintained with a release 1 day old and recent repository activity.

License in practice

Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions—suitable for most production deployments.

Quickstart

pip install pulumi_aws

import pulumi
import pulumi_aws as aws

bucket = aws.s3.Bucket('my-bucket')

Requires Python 3.9 or later and the Pulumi CLI to be installed separately for deployment.

Verify before relying

  • Extent of AWS service coverage beyond the mentioned examples (apigateway, cloudformation, EC2, ECS, iam, lambda).
  • Performance characteristics when managing large numbers of resources or complex dependency graphs.
  • Community adoption and ecosystem maturity relative to other infrastructure-as-code tools.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 4 — parver, pulumi, semver, typing-extensions
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 5,967,263/month — #2,001 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pulumi_aws-7.42.0-py3-none-any.whl

Keywords: pulumi, aws

Tags

infrastructure as code aws pythonpulumi aws provideraws resource provisioning pythoncloud infrastructure automationaws lambda serverless pythoninfrastructure definition languageaws resource management sdk
infrastructure-as-codeaws-sdkpulumi

More Build Tools packages