CDK construct library for CloudFront Extensions
Project description
cdk-cloudfront-plus
CDK constructs library that allows you to build AWS CloudFront Extensions in JavaScript, TypeScript or Python.
Sample
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
import cdk_cloudfront_plus as cfplus
app = cdk.App()
stack = cdk.Stack(app, "demo-stack")
# prepare the extension
my_extension = cfplus.ModifyResponseHeader(stack, "myext")
# create the cloudfront distribution with extension(s)
cfplus.Distribution(stack, "dist",
default_behavior={
"origin": origins.HttpOrigin("aws.amazon.com"),
"edge_lambdas": [my_extension]
}
)
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
cdk-cloudfront-plus-0.1.1.tar.gz
(53.1 kB
view details)
Built Distribution
File details
Details for the file cdk-cloudfront-plus-0.1.1.tar.gz
.
File metadata
- Download URL: cdk-cloudfront-plus-0.1.1.tar.gz
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04434b3e9e01c6b7bda9a4978c7e8fb721e791439895244c047e4ad4b5aaa7a6 |
|
MD5 | 838f1521167d14f26dd9b36fbea2c9cf |
|
BLAKE2b-256 | bf2a09363938b162343be2c557583b6947d289bb0b8dedad9ea77879b0183dd2 |
File details
Details for the file cdk_cloudfront_plus-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: cdk_cloudfront_plus-0.1.1-py3-none-any.whl
- Upload date:
- Size: 56.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc578d938c2f341f98bd6f3886e8d5f2110dd8e1cd1a5f98ce5308cda1fab2d |
|
MD5 | 938dd34afc8fc366858ca3e304008f57 |
|
BLAKE2b-256 | 7028a5ff74831e05d38bcef89744ad5a1a654ff4347465c5aee8a0e899461767 |