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.99.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18bf5aa1ec7f8134dde9800ba4d1faafccefacece4ea81909fffa0b0d17e3f89 |
|
MD5 | 0dede46002435a77ebf87047783eb7d7 |
|
BLAKE2b-256 | dfc0993bd89709740c31df9d048d23d381ab23a07902fd54354ebdda73cc5e2f |
Close
Hashes for cdk_lambda_layer_curl-1.0.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54cd91352235db2f9e84e1cb2d9f2f4c0b4525ace7adfc3593178b157db0d0f3 |
|
MD5 | 583cfa2eef41cae864e536ba07a61838 |
|
BLAKE2b-256 | fe9f7e42426dae277ac88d2ddd46c7f3d6029730317539a228cb6bed48ef2c9b |