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.315.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e1809b64ed3460413d0f4553c9880e5e153fc86016e331b82dddde80432789 |
|
MD5 | 53fcdca1e8b22865054644a5650c4b04 |
|
BLAKE2b-256 | e45e7607342add26471d98596912ec54ad4868054ab42a2cbed777e8f62be42a |
Close
Hashes for cdk_lambda_layer_curl-1.0.315-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957660ea88672655625c60c66f3fca59a97a31c03c057c8c4e95dee7ae25acba |
|
MD5 | af5e97830ab54edda78891675c92cb75 |
|
BLAKE2b-256 | ad8dc16ec32f558ade80a31b55b7627320f951b44a059defd67cac4958c584de |