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.397.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e850614a2db1d8436be3aada1b309e2a89095cf6c2e394188b39d079590434e |
|
MD5 | fc22357eac331449d3b2c9d08abfec98 |
|
BLAKE2b-256 | 39cae0f6f8409814729c71893aa22289698eacf1306985c8cc46cbd3c127d5c4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.397-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3041d35eb97db2728b0788ac7dd94c80adac4feb79d1b4e66e80c7a8dd57ebe1 |
|
MD5 | 15c8007bd9278e4c3cdd5f536a1cb494 |
|
BLAKE2b-256 | f84f67cc92b1f61b1b12284a3ad39bec7c7d2a8f099071c84593382f797e6828 |