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.86.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 320be482041ee23dd0b109e9f616d10535b18bef5c965374a71e193facf38a15 |
|
MD5 | bbf284556da1cece1e740bbba5dec5f3 |
|
BLAKE2b-256 | 699a51284c6971732cd22a98ce7393dee662cfb96613adb2746841c6cef5a700 |
Close
Hashes for cdk_lambda_layer_curl-1.0.86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7a2b78d4d9101f88484519447f7726deb6a752d70f8eb4a96d719b8d7859e4b |
|
MD5 | 21aa549bbc31748aebf9783b6d161faf |
|
BLAKE2b-256 | 0f5e813884338df59a482a232a3a55637cf6c3fc4478bc5642e2fd50a63a0b7f |