Skip to main content

Pulumi ComponentResource for create website based on CloudFront and S3

Project description

pulumi-aws-website

Pulumi ComponentResource for creating CloudFront + S3 websites

How to install

pip install --upgrade pip
pip install wheel
pip install pulumi-aws-website
# or
pip install git+git://github.com/jetbrains-infra/pulumi-aws-website@<tag or branch>

How to use

import pulumi
from pulumi_aws_website import config
from pulumi_aws_website import WebSite


website = WebSite('my-site',
                  issue='sre-123',
                  stack='staging',
                  zones={
                      'ABCDEF123': ['test.jetbrains.com']
                  },
                  viewer_certificate=config.ViewerCertificate(cloudfront_default_certificate=True)
                  )

pulumi.export('cf_distribution_id', website.distribution.id)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi-aws-website-0.1.3.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_aws_website-0.1.3-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file pulumi-aws-website-0.1.3.tar.gz.

File metadata

  • Download URL: pulumi-aws-website-0.1.3.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pulumi-aws-website-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2bfdb2aa0a43e9b5de9925b74376c7cc6177feca7e8570dc4a0875f9ab5f2b14
MD5 87e5000ec24d1ccc2d37da5066b01db5
BLAKE2b-256 9998c795d24372ef1e7794bd89a2f12b3d44ccd7809014634a43e48f0e547cfd

See more details on using hashes here.

File details

Details for the file pulumi_aws_website-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pulumi_aws_website-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pulumi_aws_website-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e72e6ad91e9cc4da10af1be35759c84d92f043a1ce13d103c95d2e95004cd45f
MD5 03925c0bedc23ee68c69f54a13b46e5b
BLAKE2b-256 d677e31e838c62c26fe42669627222716d2962e6f5b3826e4eb0b121aebe4a59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page