Viewing docs for AWS v7.32.0
published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi
AWS Lambda for Slack Notification
I want to use the Pulumi AWS package (aws) in my project.
## Provider details
- Package: aws
- Version: v7.32.0
- Publisher: Pulumi
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-aws
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package β including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/pulumi/aws/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/aws/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/aws/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/aws/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps β install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for AWS v7.32.0
published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi
A Pulumi example to:
- Creates an AWS Lambda function to post a message on Slack via a Webhook URL.
- Adds an AWS API Gateway so the Lambda can be invoked externally, e.g, via GitHub Webhooks.
- Uses a Pulumi ESC Environment to dynamically retrieve AWS OIDC Credentials and the Slack URL from AWS Secrets Manager.
Last update: September 2024
π Pre-requisites
- AWS OIDC configured in an Pulumi ESC Environment
- AWS Secrets Manager with a Slack Webhook URL secret
- A properly configured Slack Webhook URL
- Pulumi CLI
- Pulumi Cloud account
- npm
π©βπ« Get started
This Pulumi example is written as a template. It is meant to be copied via pulumi new
# login to your Pulumi Cloud if you haven't already
$ pulumi login
# create a new dir and cd to it
$ mkdir my-slack-demo
$ cd my-slack-demo
# start your pulumi project
$ pulumi new https://github.com/pulumi/examples/aws-ts-lambda-slack
# Add your Pulumi ESC Environment
$ pulumi config env add YOUR_ESC_ENV --yes --non-interactive
$ pulumi up
# select 'yes' to confirm the expected changes
# π Ta-Da!
π§Ή Clean up
To clean up your infrastructure, run:
$ pulumi destroy
# select 'yes' to confirm the expected changes
Viewing docs for AWS v7.32.0
published on Friday, May 29, 2026 by Pulumi
published on Friday, May 29, 2026 by Pulumi