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.560.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d32232d6cc4ce2ba9036fc8ac97b4e4d230ce40ffa9b278a404dec35649d22e |
|
MD5 | b0e7d2e2fbc527ede6541c9d231a62a6 |
|
BLAKE2b-256 | 64badd9e6a320b82d24dcfb9f63dfe6518d732ed234a735c0890d7ee2e6c5f13 |
Close
Hashes for cdk_lambda_layer_curl-1.0.560-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a211f74d139f4cc8145462aa56d9d15fd081af3ffde747ebe93750502eb6ac2f |
|
MD5 | dc77be880e916cd305a5b1eeb14582c5 |
|
BLAKE2b-256 | 54fdbbfcd981610fbb9f006801ba7ab33ac185f7dee838328638b978bec55616 |