The Pulumi AWS Static Website component is available as a package in all Pulumi languages:
If you are new to Pulumi and do not yet have our Pulumi installed, see our getting started guide to get up and running.
Install the SDK package corresponding to the language or runtime you are using. If using YAML or one of our other markup languages, this step can be skipped.
npm install @pulumi/aws-static-website
pip3 install pulumi_aws_static_website
go get -t github.com/pulumi/pulumi-aws-static-website/sdk
This package can then be consumed just like any other package by importing it into your project (e.g.
import * as website from '@pulumi/aws-static-website')