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.224.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d385c8921eb7dc53289fcec9e72511b9b91da9b8572e6d5cb4c7b44637cab21 |
|
MD5 | 9843278dd0acbcbaac0e161a4c10273f |
|
BLAKE2b-256 | 875945e17f3db60c91507c8fe75e96e1519ad72a537600b7f706bd224f5670a8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.224-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f31474d30c3c3c4e6d99c3cfc131d538b1305643fca90d518e0dbfd693b02d2 |
|
MD5 | d5cf6210f63c629bf1821d329f4fcdf1 |
|
BLAKE2b-256 | 28fd41f16fd58446a0c0674b91fd7b94d6a9715c43241bf5a1e75f3398bac365 |