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.744.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e53e632a057069180cfad23ecad19081004179f11d4cdd5dd82e284574d5b0b |
|
MD5 | fd1760782c84152920e6ed446f327e1c |
|
BLAKE2b-256 | 10730a7fcf451ff11192b35cb114833f59a676bb2238bbb789d6e2ef8c0e764a |
Close
Hashes for cdk_lambda_layer_curl-1.0.744-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db05905f0d50f3f3cfb287dd0b64b2feb414560d98ff703dc78741bc50e604f |
|
MD5 | ed22dbe1780efe2d70dba51a73f54586 |
|
BLAKE2b-256 | 7642802dbdc2a278d504dd875b85be05554b816eaf56f99edaee4a89e1b2b26c |