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.199.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7860cd81e8755b42bb4cd578d203af0a38a6ffd8329fd2cca365b5fdeffb511e |
|
MD5 | 72e6c1f617d7935e43be2d070c40f05e |
|
BLAKE2b-256 | 682ffe16735f8365d59fdb628729a614b8a5be8c08499f05c09c0bb4db270484 |
Close
Hashes for cdk_lambda_layer_wget-1.0.199-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00425dc1ead8e098d96999d778842c2879372d1b18bbde376e6d37168885a5de |
|
MD5 | f636589b7e82be2e87c14e57b97dbcbe |
|
BLAKE2b-256 | 1e2bd48cc48d3046a270c6b97737106a94b678a6950771ad8c70e235108852ad |