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.146.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ddb013f496be4761461e6673a088d9315faa92035c4ce8a6a58bb5cc42f420c |
|
MD5 | a090e3e056da08dac93fde3ab6307741 |
|
BLAKE2b-256 | 5c6db4e2f627e9d27c9d5ff6fa89c8659fbe5b3c4ae057cf781248c916d603bf |
Close
Hashes for cdk_lambda_layer_curl-1.0.146-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77492531c205e59a58b542b9af1322077ee7106c244f389a28a14bc69af3420c |
|
MD5 | ceae4b1978eba5128ef291cda64d119d |
|
BLAKE2b-256 | 99abbfbb306fc12f2741ee17b3d1e2671a480717d615952a9dd72e5868f0571b |