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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be83cb16a36da67ef3f076907ae8a262fa902bb9a430b116d2ea760d388a9df |
|
MD5 | 52608fd4ae0ad4169b7097791a51d4b7 |
|
BLAKE2b-256 | b7d51c699affd3b7c4116e90737ec97fcaa077c96fbc669e2018b36c1e8f80f3 |
Close
Hashes for cdk_lambda_layer_wget-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a82fc714606d5b192533f502e40ffa5ffc33897159bcc9460c146ec73698730 |
|
MD5 | 52d41a7c5c0a39b3bd76f21a77716ad8 |
|
BLAKE2b-256 | 5fab7f269ef025593bf2d1a7a9ac18d822249dfa9ac1d0e96d9e54b4d9972fcb |