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.74.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49910e81dff184d277e3acd5e25936dd08faf6bbb7d0947427ab5a4b052ecaa2 |
|
MD5 | d9289ac178f96bfa2af4e25195a34497 |
|
BLAKE2b-256 | 9970d46e1a12864bcb992f3c3a7d7da5d75c61ccc339e0fdd49d84e69ade4412 |
Close
Hashes for cdk_lambda_layer_curl-2.0.74-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756b0ca283cbd07f40e107637f93a115155573f21be0df1dd50e0c04bb14b725 |
|
MD5 | cd7d12bb91fa2b2f731f9ea902f57365 |
|
BLAKE2b-256 | d706b820f28ca09168070fba8a12712ea37c591daf9ce7c093cfbab0739f5859 |