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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac07e4fbaadc9c645c39bba876013ed16c9233f17ed2ba8eddc0d7fa57d09fc3 |
|
MD5 | d768506aed9a857c397de28fa27d061e |
|
BLAKE2b-256 | e376136ca7587a96023c5c4979575a53aec498762d66cd15e2d593aa68c1648d |
Close
Hashes for cdk_lambda_layer_curl-2.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc58d6b4ab9c0b673acb92a2832b47a8e8cfad2e4422741e1b7c2ac2d356821e |
|
MD5 | bf25ff6b2291ceffdb3ba78b4d8ba474 |
|
BLAKE2b-256 | 584bf60f2b885b6c6fdff939e9c38c34df2e27e39cc0e254eae89e93cb539484 |