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.103.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85995ab6b240b134520f7112abd85a333cd4ced45ac8a46efd27c0007118df56 |
|
MD5 | a12a030c6cd28f5873cfd7d713063ce4 |
|
BLAKE2b-256 | 0f4421eb5b0108d99e33e4cb0d4392076fd1676d50358896a1ed9057d0aa6e34 |
Close
Hashes for cdk_lambda_layer_curl-1.0.103-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd69927e796d03d0fe3815c9ff287e5d9dfcb788103b8743541665dea0c286b8 |
|
MD5 | ea8e67daf64791edc9677ec8d9ce568c |
|
BLAKE2b-256 | bf577e4b8efdac45025580f7a453a1381dcb2095227dec7d91322cba89cc9b91 |