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.762.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab135b93063740803bb4ebb72444cee92088fee338c65c733dca713b3ac1fdb |
|
MD5 | 79f6e92c688edcef1dc31a7b73bb7431 |
|
BLAKE2b-256 | 9302d8922d62cb8ae5636580d30963898f381e450e9425922ec8a2eaad8bde5b |
Close
Hashes for cdk_lambda_layer_curl-2.0.762-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f449f987d663e58341e9ff8aea707eff7246193fc9634c05b1038643eb55805 |
|
MD5 | 0f4423246980c3f12a798564a1e802c3 |
|
BLAKE2b-256 | f40480313c72bb9f64a428e280416f073c098afba46bea05437a08ab179b3076 |