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.275.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d6af1ff16810ee2d03468fb248ba5f18fac93aafd1fd1a7848123e60dbb8f3 |
|
MD5 | 666329fc45f6b575c313b7aeb5f7cb35 |
|
BLAKE2b-256 | b4c213c31bd99005b8dbb37044e8718cc998154dcb282a625a0013a193a83618 |
Close
Hashes for cdk_lambda_layer_curl-2.0.275-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4ff3ff41125140832d83fb1cabfe452b7b39884b4bf7d2d4afc0e3ca0094fb |
|
MD5 | 80a63f8514f8338f68f9ec578eacc4c0 |
|
BLAKE2b-256 | 539aec95dfab480ea29782bc24589030106ea8c0c378beb355d3be5da918573d |