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.2.tar.gz
(53.1 kB
view details)
Built Distribution
File details
Details for the file cdk-cloudfront-plus-0.1.2.tar.gz
.
File metadata
- Download URL: cdk-cloudfront-plus-0.1.2.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 | 54821b0f594ea51ea9870ef4fad0545b97a08f43e1fca0e4d715cbfdb45beee6 |
|
MD5 | 1bfb9bd42715bf9b30dcfa60b05231fc |
|
BLAKE2b-256 | 5306cf5d7bd06075bcfb0afed361627ae85b87008ae28eb66649c30e0dc44ab3 |
File details
Details for the file cdk_cloudfront_plus-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: cdk_cloudfront_plus-0.1.2-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 | 4b924c8678a0242d245eaff492a941945d9aa8e30883646aa5e619ef87422235 |
|
MD5 | 4cc99c2a0676800d06f07ca0c73cab4a |
|
BLAKE2b-256 | 2fb5a4c1a4f0f4488765d7db245f2ce6826cb00de541215a4ab245926b10913c |