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.337.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d0c35aa4ca97ec1a22e8d34b0cdb3077964a3cc28f0ba5a574a5740d6e1254 |
|
MD5 | dc81b812c68927d5af602fc7f72aec05 |
|
BLAKE2b-256 | d519cc2da336eb9726eac80264c5309331235f68278d6ef06201a6820a5a290d |
Close
Hashes for cdk_lambda_layer_curl-2.0.337-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 192c59931dea0001542dc88ea948214449028b39f9c8599e65ce65a4bc7f7da0 |
|
MD5 | b573c2a5338a7c19cfab0884f75a2393 |
|
BLAKE2b-256 | f54e7d12e45befcbeee99ab2a2f8815cea38a46e316b95a97a983755404cf42a |