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.199.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 541f7761c920bf0a452d0f66ed2be630ec8807202544b7f58d2070daaecd050e |
|
MD5 | 79098b92813a3b3828fc99a5d84f15ab |
|
BLAKE2b-256 | ebe4d5b624b634e8281ee7f438fdb36e1a01d54142dd91a3f32076eec87681b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.199-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1677125f3adeaa111b7b0d9a59ace680ab2b9d830c1d27db56f071a168d7836 |
|
MD5 | a8435d943bf412bcaef1e01892578986 |
|
BLAKE2b-256 | 9bd1ccedfaaddd2365d80b83e8d52ba58d8a1067374396bc38d739a086d8dc89 |