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.41.0.tar.gz (82.5 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

  • Download URL: cloudcomponents.cdk-wordpress-1.41.0.tar.gz
  • Upload date:
  • Size: 82.5 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.41.0.tar.gz
Algorithm Hash digest
SHA256 d554ff66414761c027eb448e012fe119fd7f226e542cd299260d9ee801e1d2e7
MD5 a626b32c6fe47c660abf37a264a4cc5b
BLAKE2b-256 17ed582ae61119fdaadc9561591a80c85821a9fbd3c5db87de4a065bbb77215a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloudcomponents.cdk_wordpress-1.41.0-py3-none-any.whl
  • Upload date:
  • Size: 80.8 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.41.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a46e0728b86294616c2cfd1d41097fcf5c158fb0299a0dc60f4d1c0f69383f7
MD5 eb8a0733dd7ae6dd3be03acadb7d6870
BLAKE2b-256 05ef4adcaf4f724dac97dcf79705aa260e00779cb44aa140bdbad41648775ff7

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