@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
import { Wordpress } from '@cloudcomponents/cdk-wordpress';
import { RemovalPolicy, Stack, StackProps, aws_route53 } from 'aws-cdk-lib';
import { Construct } from 'constructs';
export class WordpressStack extends Stack {
constructor(scope: Construct, id: string, props: StackProps) {
super(scope, id, props);
const hostedZone = aws_route53.PublicHostedZone.fromLookup(this, 'HostedZone', {
domainName: 'cloudcomponents.org',
});
new Wordpress(this, 'Wordpress', {
domainName: 'blog.cloudcomponents.org',
domainZone: hostedZone,
removalPolicy: RemovalPolicy.DESTROY,
offloadStaticContent: true, // Support for plugin e.g. `WP Offload Media for Amazon S3`
});
}
}
API Reference
See API.md.
Example
See more complete examples.
License
Metadata
Release files for cloudcomponents.cdk-wordpress 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudcomponents.cdk-wordpress-2.2.0.tar.gz | 150.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudcomponents.cdk_wordpress-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 300.3 kB
Release files / cloudcomponents.cdk-wordpress-2.2.0.tar.gz
| Download URL | cloudcomponents.cdk-wordpress-2.2.0.tar.gz |
|---|---|
| Size | 150.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3c6fc25819cf37f71ff40f3e1b92d6dfa9938250a62b040507b63e43c299491
|
|
BLAKE2b-256 checksum How to use checksums |
9311c2e4af4f7c4c7a4137bcf2ed48acdc8c4f1bf5a5bf16a3453774f18d1fcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / cloudcomponents.cdk_wordpress-2.2.0-py3-none-any.whl
| Download URL | cloudcomponents.cdk_wordpress-2.2.0-py3-none-any.whl |
|---|---|
| Size | 149.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a7f46a6d51fd88b322f6999d0d1c47ef93360d6ff2d70643718c9acb6c8faea
|
|
BLAKE2b-256 checksum How to use checksums |
474b065cba6b89eaa3f58154096fd6b01ff05553682e5c877bfa612b6dd8756e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|