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 from non-compiling source. May contain errors.
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.47.0.tar.gz (83.5 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.47.0-py3-none-any.whl (82.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudcomponents.cdk-wordpress-1.47.0.tar.gz
  • Upload date:
  • Size: 83.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for cloudcomponents.cdk-wordpress-1.47.0.tar.gz
Algorithm Hash digest
SHA256 99e87911e1fa7acca98e26f4c8b7e13cd15f1c3b044a7bb834a342eb1047941d
MD5 1f8dba3086d2ffc45cb65961c43a857b
BLAKE2b-256 51f7f0ab7013bcf5ac00b58d485eed2cd3c095fd8b5add455d8709d6b777c521

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloudcomponents.cdk_wordpress-1.47.0-py3-none-any.whl
  • Upload date:
  • Size: 82.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for cloudcomponents.cdk_wordpress-1.47.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5e7c796752c0d63d1f3e22c6caa48be93f126440dae5252553c52015d6cce4
MD5 96e8398a52d2b332745804e08e346feb
BLAKE2b-256 511cd5057a88916e04027c1c14ac867b3fb699b3fa5dbfccc426347c32e015c2

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