The Amazon Web Services (AWS) resource provider for Pulumi lets you use AWS resources in your cloud programs. To use this package, please install the Pulumi CLI first. For a streamlined Pulumi walkthrough, including language runtime installation and AWS configuration, click "Get Started" below.
This package is available in many languages in the standard packaging formats.
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/aws
or yarn
:
$ yarn add @pulumi/aws
To use from Python, install using pip
:
$ pip install pulumi_aws
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-aws/sdk/v2/go/...
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Aws
The @pulumi/aws
package provides a strongly-typed means to create cloud applications that create and interact closely
with AWS resources. Resources are exposed for the entirety of AWS resources and their properties, including (but not
limited to), 'apigateway', 'cloudformation', 'EC2', 'ECS', 'iam', 'lambda', etc. Many convenience APIs have also been
added to make development easier and to help avoid common mistakes, and to get stronger typing.
The aws.serverless.Function
class allows you to create an AWS lambda function directly out of a JavaScript/TypeScript
function object of the right signature. This allows a Pulumi program to simply define a lambda using a simple lambda in
the language of choice, while having Pulumi itself do the appropriate transformation into the final AWS Lambda resource.
This makes many APIs easier to use, such as defining a Lambda to execute when an S3 Bucket is manipulated,
or a CloudWatch timer is fired. To see some examples of this in action, please refer to the examples/
directory.
The pulumi/pulumi-cloud repo offer higher level abstractions that build on top of this underlying capability.
For further information, please visit the AWS provider docs or for detailed reference documentation, please visit the API docs.