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.93.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d03c897314e0935da28e46ef4b2297677fc08b9754fee66c642408b0b36a24da |
|
MD5 | 95c96728790c484d0507bc23dde71ef2 |
|
BLAKE2b-256 | 2829422dc8a63053de11e38c5b0126e96c8ce5246da1fd660c6cc08d06b69d5b |
Close
Hashes for cdk_lambda_layer_curl-2.0.93-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ef342b6b223ee446880b0e00df452cbdf87d7eeb94dd3d2767f79c35ca0ca3 |
|
MD5 | aad74c7d230f0caa17ee954ed87a1e8d |
|
BLAKE2b-256 | 3e940c50df6643939953c539b72589b7381b308cd959e11f8a0fa2ee48f36012 |