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.780.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e7113d41d72b3bb0f6bbb306b1447b7fcee5128d87b65bd3e8d08b963c0df34 |
|
MD5 | ecefd77d355b9da2e7a62f22607f35d9 |
|
BLAKE2b-256 | 745ef13917d69548616e6a8b7beceee4e919ef051748906d78ca3dbb74c21194 |
Close
Hashes for cdk_lambda_layer_curl-1.0.780-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1c8bcbe4375b61d8d1d99a89ea0b41de97c37a0e9d30892d986cd40a5c2f7f6 |
|
MD5 | 7498cb87a37be391795246406b5a4c61 |
|
BLAKE2b-256 | 903547f6a89a785179a8b33e542bf040348c8a2e59afc4899c274cdf9b6e916f |