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.778.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38fbcc4d6bac33307f37100180d7a83f5461e63e4aa49179269da7d400da3e36 |
|
MD5 | 7ed0d94f6e97656a84e9211ab3caa3ef |
|
BLAKE2b-256 | 4f182a7fc2be881a88fc80e25a4a251810ca4371dea337c369b7afddc772c0d7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.778-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | def9b08a768d0e36e52bdf319aef0764af5002c29fc4e25c77b4470d923f56af |
|
MD5 | d879548dae5c257172d22dd17d73a7e1 |
|
BLAKE2b-256 | 215d9312239d5b568ac05cf2b843d7c47671dab0989f9553dea3d16221b28030 |