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.43.0.tar.gz (82.7 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.43.0-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudcomponents.cdk-wordpress-1.43.0.tar.gz
  • Upload date:
  • Size: 82.7 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.43.0.tar.gz
Algorithm Hash digest
SHA256 a3ac2772f5f5c95c024ab883f7388cf165f895bc1e2e223c243219472a8b75c0
MD5 ef8623acbc3aefe5e138fb7e46b42eda
BLAKE2b-256 8ec504f9b4b30c46180016f9c68357e1426220845000e903b3463059e593b6e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cloudcomponents.cdk_wordpress-1.43.0-py3-none-any.whl
  • Upload date:
  • Size: 81.0 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.43.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3243be956bc7924c618ac497e4f19b9dbb8adcc6b09b4267df197594a7e836
MD5 ba321a43573a0320033b261496a720c9
BLAKE2b-256 46bac574442ca8767e07291257b121f64504516c0c1148ee8cc79eb601466c7e

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