skillfed

prefect-aws

Prefect integrations for interacting with Amazon Web Services.

prefect-aws v0.7.11 6.0M downloads/30d#2,002 on PyPI23,623
Permissive license Apache License 2.0 Active released

What it is and what it does

prefect-aws is an integration layer that bridges prefect workflow orchestration with AWS services. It provides reusable blocks (configuration objects), tasks, and worker infrastructure to simplify common patterns—file I/O with S3, credential management via Secrets Manager, serverless execution with Lambda, container orchestration on ECS, and batch/ETL jobs via Batch and Glue. Rather than calling boto3 directly, you use prefect-aws's pre-built components, which handle authentication centrally, add observability through logging and state tracking, and include built-in retry logic for transient failures.

The package depends on prefect as its orchestration engine and boto3/aiobotocore for AWS API access. It supports Python 3.10–3.13 and is actively maintained. Most users install via `pip install "prefect[aws]"`. Setup involves creating an AwsCredentials block with access keys, then using service-specific blocks in workflows.

Use it for:

  • Upload and download files from S3 within workflows without managing boto3 sessions directly.
  • Deploy long-running workers on ECS for production data pipeline execution at scale.
  • Invoke Lambda functions synchronously or asynchronously as part of a workflow.
  • Retrieve and manage secrets stored in Secrets Manager with centralized credential handling.
  • Run ETL jobs on Glue or submit batch compute jobs via Batch from a flow.
  • Authenticate to RDS PostgreSQL databases using IAM tokens for passwordless access.

Worth the install?

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

Provides pre-built blocks, tasks, and workers for integrating Prefect workflows with AWS services including S3, Lambda, Secrets Manager, ECS, Batch, and Glue.

Yes. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with prefect for AWS workflows. Choose it if you are already using prefect and want to reduce boilerplate around AWS service calls; skip it if you are not using prefect or prefer direct boto3 usage.

Install

prefect-aws on PyPI

pip

pip install prefect-aws

uv

uv add prefect-aws

poetry

poetry add prefect-aws

Installing prefect-aws

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a release 9 days old and recent commits. Depends on prefect, boto3, aiobotocore, and several utility libraries—all widely used and stable.

License in practice

Licensed under Apache License 2.0 (permissive). No restrictions on commercial use, modification, or distribution; suitable for proprietary projects.

Quickstart

pip install "prefect[aws]"

from prefect_aws import AwsCredentials
from prefect_aws.s3 import S3Bucket

creds = AwsCredentials(
    aws_access_key_id="KEY",
    aws_secret_access_key="SECRET",
    region_name="us-east-2"
)
bucket = S3Bucket(bucket_name="my-bucket", credentials=creds)

Requires an AWS account with appropriate IAM permissions for the services you intend to use.

Verify before relying

  • Whether RDS IAM authentication plugin is production-ready or remains experimental as stated.
  • Specific performance characteristics or throughput limits for batch operations.
  • Whether cross-region operations are fully tested and recommended for production use.

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 8 — aiobotocore, boto3, botocore, prefect, pyparsing, tenacity, typer, rich
Maintenance actively maintained — 9 days since the last release
Last repo commit
First released
Downloads 5,966,999/month — #2,002 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: prefect_aws-0.7.11-py3-none-any.whl

Keywords: prefect

Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries

Tags

prefect aws integrationaws workflow orchestrations3 lambda blocksecs worker deploymentsecrets manager integrationbatch job processingglue etl workflows
aws-integrationworkflow-orchestrationinfrastructure-as-code

More Libraries packages