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.513.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32b18a8eef7efa9261b35b90e0df842394460f6260f7500e7adc3f3622fdd265 |
|
MD5 | 9b5c49057d01a6bde421c0aef2c2fdc7 |
|
BLAKE2b-256 | 371103ad9f8e377099aba5c4cfcf4f48de7838c2d42d2d126f5ca653c2b8d60f |
Close
Hashes for cdk_lambda_layer_curl-1.0.513-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8913ef90391bb26f9f419404d45e85b074cd9de63c2b442e99a850af2a395934 |
|
MD5 | cb0e9470d22369f9e85d729f0a364d32 |
|
BLAKE2b-256 | 590242dd0c71b3dcb69749375a516481adda51bd93969c24a03b212d6efa171b |