CDK Construct to deploy wordpress
Project description
@cloudcomponents/cdk-wordpress
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cloudcomponents.cdk-wordpress-1.47.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e87911e1fa7acca98e26f4c8b7e13cd15f1c3b044a7bb834a342eb1047941d |
|
MD5 | 1f8dba3086d2ffc45cb65961c43a857b |
|
BLAKE2b-256 | 51f7f0ab7013bcf5ac00b58d485eed2cd3c095fd8b5add455d8709d6b777c521 |
Close
Hashes for cloudcomponents.cdk_wordpress-1.47.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5e7c796752c0d63d1f3e22c6caa48be93f126440dae5252553c52015d6cce4 |
|
MD5 | 96e8398a52d2b332745804e08e346feb |
|
BLAKE2b-256 | 511cd5057a88916e04027c1c14ac867b3fb699b3fa5dbfccc426347c32e015c2 |