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.248.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a02b188a0b85c24ff3ecde0f96d01fd87f74e6980bc862c7782fa745d3069d |
|
MD5 | 00610546b4e27ca262e2b4ab59fd74c7 |
|
BLAKE2b-256 | 12b19cf6dd02065e92e2744e9da0d31e482956ff07682b68a7eb930df3957170 |
Close
Hashes for cdk_lambda_layer_curl-1.0.248-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b574f0e0d849aa408dcd81237b893287e1710cd9158f705a7d466c96bb93ce98 |
|
MD5 | 2e6ac494e87457bfcf330df946643c15 |
|
BLAKE2b-256 | 59eb950a38ee2bde2b005dd853e3f99599ea928ed2cfcabb3be283ea6ec9f583 |