A Lambda Layer that contains kubectl v1.24
Project description
Lambda Layer with KubeCtl v1.24
---This module exports a single class called KubectlV24Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.24.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV24Layer } from '@aws-cdk/lambda-layer-kubectl-v24';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV24Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
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 aws-cdk.lambda-layer-kubectl-v24-2.0.174.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c910d346047a1e23dbbd7a7af712aa119b239ec5a795a7b31cf6080ba288493 |
|
MD5 | 67092ef76429e3bf9daabd6a89a091f8 |
|
BLAKE2b-256 | 2da9be467d0714a5c83b1fc3b5dbbbf35cc7457e4a5028fc7a6253f26d0a0b0b |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.174-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b93cbd378c54146907bdae8130a6fe915fff6d94200705958e4e1bb42b9ab9e |
|
MD5 | b822987177fcec9d02293889eeac8301 |
|
BLAKE2b-256 | d8d97a7a4402da6199cf6950c5e6e3ce59729a17f030885c5b54d5d54b1048bf |