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.476.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3361ec66542673cf82d3832dc898f5aeb31dc1e271d7517cb7d809dd0ace4574 |
|
MD5 | 2ff15c660531b899a34a5d7188870f91 |
|
BLAKE2b-256 | 3b15d78c29edbe23628fb4cb9e8105f40bfdc2ace254870664a35261f0c93c73 |
Close
Hashes for cdk_lambda_layer_curl-2.0.476-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e166d98fcadb5267dd173f1408569c098530eb97bc8e5dc010aa4ebca7b6f6aa |
|
MD5 | 99aa6e71cc9c6af7fff08d4b58b566ea |
|
BLAKE2b-256 | 716c6f5d0a803468d6e4caf4a460ac1ee8969527241eff10ee61ea5d0bc66f5e |