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.363.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73a607ac3c2e51a960899f17d688021d84b0871b20bd22340051799c692ad874 |
|
MD5 | c5924b0ed9c2452242605a61e2f89ef6 |
|
BLAKE2b-256 | 29b80ff9eca766ac6f8a9e95799fe847c3dafcfc5e2a741d95727c6c1559ca27 |
Close
Hashes for cdk_lambda_layer_curl-1.0.363-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4812efbe184e69f18ada7393d096edd2f355b201991077defba7e96b85e06749 |
|
MD5 | eb50834dc0a6b5a5903b794e7a04ed94 |
|
BLAKE2b-256 | 3123c2e04dd12edbf6ffafbb2b6d1d4b58254198e28f2b3c5820be07d0971558 |