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.804.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdfeb638d9fe8e67bc704d740aa68c46395a1f9b3549c019b0373263cd629347 |
|
MD5 | 8cfa78399ce9ae9fdb3f4645ade7d988 |
|
BLAKE2b-256 | 743eedeefe7ba015fd5451ac00722c446d4ae496ea26b2a6db142362dcc4129f |
Close
Hashes for cdk_lambda_layer_curl-1.0.804-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8122f80e9f3998c051cce0954867b3f95f358a6b9e6ca423fef55cdb81dfb4 |
|
MD5 | 53c01d3f74c4cc036b69709255180840 |
|
BLAKE2b-256 | 1f84e6eaed1cbdab294ca1501cc6eb848df7c7247eeead7b212d074ea9dd4f2e |