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-2.0.180.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90b0ff5853cdd742affe116f43a1731980498478f4b4e377b0c8bb2e8ebaeff0 |
|
MD5 | 1c0246e844145d6d4db43be69a591dda |
|
BLAKE2b-256 | dce75ba571abe2a7cebeab6b12dfe4b25dfc8b2a88c7a8e63842f372f1461a5a |
Close
Hashes for cdk_lambda_layer_curl-2.0.180-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f205f9215f96a5a3e2a4e29c688bf2ce91954873d757fe23c64b87e80896e94 |
|
MD5 | 45cefc9cb0d3459df924e9169b407878 |
|
BLAKE2b-256 | 4dcf0d83b6dba5d997c014f733cc9cc872cdff3b77c4e202a57ad0d6694153a4 |