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-2.0.116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e92af8fbb58a0942fa72fe20791777dbe5d533f7876697fd554aadc31a0f09 |
|
MD5 | dbca9966026b758086379aa25b9fbb32 |
|
BLAKE2b-256 | 00ba83a6fcffeaf8222681638ebc705e780e94ad732b90070cfa14fa7f76dd9b |
Close
Hashes for cdk_lambda_layer_wget-2.0.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf1bd3306d3fefb929f4d1625ed9d134e3315995e7287dd1e88f565a4cd4367 |
|
MD5 | 8b585cb1c1a49f3b4d1fe39827da9aa9 |
|
BLAKE2b-256 | 417a53573c8dc26b167ccec292e1a1f8fa0c77956704cd7beedf35da73b89afc |