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.486.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6bb710cabd48e78daf41ef5e5e30b8794f9cd002cad1cf9aac92340379754a4 |
|
MD5 | 0a000a1a0aa5de17275c7a4d90ef3367 |
|
BLAKE2b-256 | 3b87bb2d4339a129af34ab301e4938429979adfbf122f0e4cf9628db4317364e |
Close
Hashes for cdk_lambda_layer_curl-2.0.486-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 826bf8f6095d77d3f702558e6b2b0e4c05d85c0486c7439695605408d5a0832c |
|
MD5 | 1bed6e42e2a0bef425d29d3327e6ce1a |
|
BLAKE2b-256 | f819827188803a984940e63902923a18772ae22a7e1466bffe4e4a835a87c2de |