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.614.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 759487a031f530a27324a4b08845fd1bb850521696d7d300336514473993635f |
|
MD5 | eee65893c2d8196d2393a2a5aa32de77 |
|
BLAKE2b-256 | 6fb47e2ee7437d0a09584d08e89129613ce96b3ceb2e92c840fcf922351728c7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.614-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 060bcc53cfeeab9c1bfb9cbbf5e74854722e0133915dd766a6653c795c583538 |
|
MD5 | 061b08006bd0ba626f78ae7dc6df8938 |
|
BLAKE2b-256 | 5b742c52c05e1a6710996ae7fba55bd34ee6b72098cf1fa4ade0ce41b0ba4fcc |