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.704.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94f533ad0a9544bd05bed0e1e436758cbc03e72c71b308aa05fc5ec24f6d743 |
|
MD5 | daf76e113e7da7db56cdaeed3e9f6d0a |
|
BLAKE2b-256 | 57cbc3bef681dbdfeb494bc9e084fc11b39b7d103fb09f577dbad3eb7e716c85 |
Close
Hashes for cdk_lambda_layer_curl-1.0.704-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86816119bc9f4a44dc0f97d2fb25bcbc1ac2d942046328e40cb1b8d2329fdacd |
|
MD5 | 1a23ced03f54f22ff2927ceb4e672adf |
|
BLAKE2b-256 | 4817fe7281dc9f556e80b2678b468648ea29b2bc88dd26183599e42f027b474a |