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.204.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a2ccb50b351402e596cdefbfaee53d0676036a304e0f59487c19449542419ea |
|
MD5 | 45cb0c27af819af179e6b01538f4d3d0 |
|
BLAKE2b-256 | ed03b3008d6f4b5141d216af3bd345a1eec548164bd59b79c57a0e0bec3e859d |
Close
Hashes for cdk_lambda_layer_wget-2.0.204-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb981319a3864a8b4545170e953565f5da35ed3d93f37336ee355c506aca5919 |
|
MD5 | 517cfcf13f8042481f85c3567c5583a2 |
|
BLAKE2b-256 | 4b853924300133cac4a4c7979dc7e6285607da1884c9b3a7392b6afee119e248 |