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.656.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9f2e520a47231c29a4c987aac9873c7650ca16bd49966679a425831b940453 |
|
MD5 | c0e2a62c54dfd6727141ebc1eccffa1c |
|
BLAKE2b-256 | 6fb52c4c77ad2f69275d64cdacc9206433ca14b33c4b02cb0d04fe6c15b76fd5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.656-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eba5e4a5b280b4e31b9a9e7ee4cee7c96a0f549f82b87fd5ead39979a8c8c2c |
|
MD5 | 659bd764579bcf1b884a5ed640eed24d |
|
BLAKE2b-256 | e197fb55fec03ac59fe1c714b04b441f235537057868875a128f10294b772ecf |