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.256.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9dc607682a9db6440e4bc7cb550b2ad31fef60716c455c818f5869408fbb8ed |
|
MD5 | b0636afc29e8f722994f4a0a2178c611 |
|
BLAKE2b-256 | 010a3c6441fa8baff48cda9671be08ce4aef8488a3d68e394439eaddb1ba312d |
Close
Hashes for cdk_lambda_layer_curl-2.0.256-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e19f8131a1af6e002e4dea82e91e3ea903b515821925e1917027ed9990117c |
|
MD5 | aa52ab6dd8ef2d20815fdffd00b8c014 |
|
BLAKE2b-256 | c744d79111d4c1fc83f53cac5ea11ebae399f7c1b3a7f677f479c8fbfe6dc35d |