Lambda Layer for wget
Project description
AWS Lambda Layer with wget
Usage:
// WgetLayer bundles the wget in a lambda layer
import { WgetLayer } from 'cdk-lambda-layer-wget';
declare const fn: lambda.Function;
fn.addLayers(new WgetLayer(this, 'WgetLayer'));
import { WgetLayer } from 'cdk-lambda-layer-wget'
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 WgetLayer(this, 'WgetLayer')]
});
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-wget-1.0.283.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8569c1e30678f8dc7cb8547346433e768cbd2a630d20cfc5d761808479ecc830 |
|
MD5 | efad288348fdbcef68b2480882aa0d76 |
|
BLAKE2b-256 | 7ef4113a0f316b52d06fdfedb7ee46b47e1c46373125b66bbd46384bfd1464f0 |
Close
Hashes for cdk_lambda_layer_wget-1.0.283-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6024e3ef642e49cc195bc81a25d7708b0b7776321a26ee4fe023c8d6e1e9465a |
|
MD5 | 473d7b9d1004f45f582087d92cab6db2 |
|
BLAKE2b-256 | 39449c57fb7592b7c99fc6d7e8f9779ed2a443d722396e0e98c67d7b1dce70b8 |