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.188.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61cbe4404b885251ef727d50a27e8b15d4ada3efe6c78ebfd7ade99680cb1d29 |
|
MD5 | 5f7928f572197175e58bf53ce4bf323c |
|
BLAKE2b-256 | 7e246ea95cbc96ae702ca388458a92cb41a082a9615d6f31ea18f8802a41a4cc |
Close
Hashes for cdk_lambda_layer_curl-2.0.188-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 928249f56de3d084adebcffbe77508dbea429e5cb6d5d95dade5f22d1d127546 |
|
MD5 | 24ba5d6b263efeabb957302833693fc3 |
|
BLAKE2b-256 | 0584019c6943813388a3fadfad331af5b9f11b9a1e8e4f05be68c528ed246dfa |