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.595.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe7f2775ff7f7d702cb5888a50506fce5452c00bb050520ea4f7acfab181bc4 |
|
MD5 | d4cb619376bc92f8a9c15020480dc5e9 |
|
BLAKE2b-256 | 85e252aa56253e9bc1f7d9410df004b8707d5c23606c83721c898d6aeaf80277 |
Close
Hashes for cdk_lambda_layer_curl-2.0.595-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c5dab6840a2970f97b0dd616423f50d79d2e95604a79a19be943b58593e2c2 |
|
MD5 | 11dd10885f8d1dda563f26345c8a48cd |
|
BLAKE2b-256 | a5e80cdd6e148f56a751e4c403d05ac9ee50592b7d8bd9ec102478a7efb5bd6a |