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.190.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1363e4418cf58fced80d298ed99f2d0a730dfacc4150bccf640f5d74706d7662 |
|
MD5 | 5af0fdb4cdbadacdeda369543de41912 |
|
BLAKE2b-256 | cdd8f8ebbf44c780671aaf722bddfe6576872c7a0325514e42c7ba6a900ee01d |
Close
Hashes for cdk_lambda_layer_curl-2.0.190-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18af2b800699310f24e7da75363d1902ccd487468793218b6e21944fe64f53c |
|
MD5 | 0fee55efe503b4927ecc2788d8a68f0e |
|
BLAKE2b-256 | 30d7fe631c71f10b36c441898aa628f49acd8159e7d98db4392f1a90cba2d0eb |