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.245.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca7e3420d05d5492894699fe4738d1cb2b76e0628a2b4bfe07c871c12c3fe90 |
|
MD5 | 6c95250ba8f62011b8d17041e45fe723 |
|
BLAKE2b-256 | 3b01fb68c118f62af400db34b6fb1990fd8b176dce4b12c76e9effb0ed76934c |
Close
Hashes for cdk_lambda_layer_curl-1.0.245-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13ada2cbdc779793621b06a877bcc0f669a1673cf510ff4da0a7e664a6de75ad |
|
MD5 | 4728f07a0a95a25c022de361987bbfc5 |
|
BLAKE2b-256 | de9416bc957e0d335177d4e6a2caf3721c694b05009bd50b483f873694ea878d |