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.633.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e86ec78b6cf9628bea558bbaf653aa7c3ac6113452d00c8c58c2f8dc1d489e |
|
MD5 | 4ed5245e52227bc34e7e9bde18ed9db8 |
|
BLAKE2b-256 | dd70c4ef68fc95a91e012b3da03760d51b053cf84f8a04290da0495f326e4243 |
Close
Hashes for cdk_lambda_layer_curl-2.0.633-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640e3d7300e01420987474deec1a03051a2532c0ba6a10558306106240d80285 |
|
MD5 | 3c4623be31db5a6163765caf0b1576d3 |
|
BLAKE2b-256 | 0ae2311ef303be9bd3fb2c0bff5cc8588df43fa00826829d0f2ca64af0c23434 |