For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
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 cdk-lambda-layer-curl-1.0.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d49995b62ec83639c62321509c9570f69b4ab0a231b4d7c5ff93e4e841c3e3a |
|
MD5 | d06370af3671bfd8055b59fe5f76277c |
|
BLAKE2b-256 | 464bcd5479ed13a6b48d7f7b5d01fe010735f0cd0d15f90d93a18043768589e5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2078cf4123c7a6d0e7957e6bd8025d83a1c3624001695c4b390e3e101fe53af2 |
|
MD5 | 6b207ab188ae8c0bdfd1e8aa16b0ee36 |
|
BLAKE2b-256 | b93031dfa7cf6e1794077c60c1796f763863576b1feb7635bbf8e0c06c859de0 |