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.362.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b182e45b1edda2dc177403eb0c2eaf6f2f576e7eea48867b964d886271f7c162 |
|
MD5 | 29944e4a2b0c7c02bb0e51a13ef2e8ca |
|
BLAKE2b-256 | d91c94843816a6133562189abeb329f3e7cd7ba96d2f357cd9f1ed991ab431df |
Close
Hashes for cdk_lambda_layer_curl-2.0.362-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ea4f1d039bccc668f552b50923c9f40573cb68589f4a883bf6abfe6a74ffc13 |
|
MD5 | 2d32829f1a2bdc4f636b65d9bd401279 |
|
BLAKE2b-256 | 909d8ddb268d911dc1a26d8a500ccfc460a9023d78616e30d993d060633be89d |