Skip to main content

CDK Construct to deploy wordpress

Project description

cloudcomponents Logo

@cloudcomponents/cdk-wordpress

Build Status cdkdx typescript python

CDK Construct to deploy wordpress

Install

TypeScript/JavaScript:

npm i @cloudcomponents/cdk-wordpress

Python:

pip install cloudcomponents.cdk-wordpress

How to use

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from aws_cdk.aws_route53 import PublicHostedZone
from aws_cdk.core import Construct, RemovalPolicy, Stack, StackProps

from cloudcomponents.cdk_wordpress import Wordpress

class WordpressStack(Stack):
    def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):
        super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)

        hosted_zone = PublicHostedZone.from_lookup(self, "HostedZone",
            domain_name="cloudcomponents.org"
        )

        Wordpress(self, "Wordpress",
            domain_name="blog.cloudcomponents.org",
            domain_zone=hosted_zone,
            removal_policy=RemovalPolicy.DESTROY,
            offload_static_content=True
        )

API Reference

See API.md.

Example

See more complete examples.

License

MIT

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

cloudcomponents.cdk-wordpress-1.45.0.tar.gz (82.8 kB view details)

Uploaded Source

Built Distribution

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

cloudcomponents.cdk_wordpress-1.45.0-py3-none-any.whl (81.2 kB view details)

Uploaded Python 3

File details

Details for the file cloudcomponents.cdk-wordpress-1.45.0.tar.gz.

File metadata

  • Download URL: cloudcomponents.cdk-wordpress-1.45.0.tar.gz
  • Upload date:
  • Size: 82.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6

File hashes

Hashes for cloudcomponents.cdk-wordpress-1.45.0.tar.gz
Algorithm Hash digest
SHA256 775e4783aaa8def34ee806b3b8727fa2825def5dd575c51a2ec3aba2270c7253
MD5 a2829e63aa2fd43b0d3f853c61469c07
BLAKE2b-256 3d1bcf2c31c981aea3b03e3bd5795ca802e93783e68af1ed95630500060b4591

See more details on using hashes here.

File details

Details for the file cloudcomponents.cdk_wordpress-1.45.0-py3-none-any.whl.

File metadata

  • Download URL: cloudcomponents.cdk_wordpress-1.45.0-py3-none-any.whl
  • Upload date:
  • Size: 81.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6

File hashes

Hashes for cloudcomponents.cdk_wordpress-1.45.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff788bb3ddc82f35749c21ce224f5228d52a157edb88a556388d3b21dd15e5c4
MD5 bf3c04c079cf20f8d6919981d8d85fc8
BLAKE2b-256 cc523ded177d8c504ee0c383746253793f44ffc72890d5e64600f73877ecd1f1

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