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.234.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41440263581d01b723602537b3411651736b25b492be8a66f3ead9d57ae47cf4 |
|
MD5 | aa68c23e3e4fae7d6e97e0cf8353906b |
|
BLAKE2b-256 | 6478b95478577712a8a9d4ee58791dedbaec01629465bf96b0c21640adbdecb9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.234-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac7d5b56ffb505ed73f832bf5da69881d36b07dc3dd057dfeca42cf4a2a4202c |
|
MD5 | 63b87318427f35a053428635c765cfd5 |
|
BLAKE2b-256 | 363272ad69cec582ed9f8fcc96ff30601373226881d31500b995522e75e1204f |