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.774.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d61517530f64ae0638c84dd505dd0512e74ffad50ad859a7f445f26af634a46 |
|
MD5 | 3575c356fa1fc841fe7ef5db09d45fec |
|
BLAKE2b-256 | b514d1e4c653aee27c61b7fb53372011bd662391f74bdf9a9f7ba5fbe5733973 |
Close
Hashes for cdk_lambda_layer_curl-1.0.774-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a607a0ccd02aaae9eb1046e636af8acf44801f32904950beea6643159697f55 |
|
MD5 | 5a7b991ab8a71a0ca7b311ad18f5d144 |
|
BLAKE2b-256 | 9c14e4a8b3d1cb85ad4983facf145292f3e51e8bde12e39ccb2aa8813c860689 |