Skip to main content

A Lambda Layer that contains kubectl v1.26

Project description

Lambda Layer with KubeCtl v1.26

---

cdk-constructs: Stable


This module exports a single class called KubectlV26Layer which is a lambda.LayerVersion that bundles the kubectl and the helm command line.

  • Helm Version: 3.11.1
  • Kubectl Version: 1.26.4

Usage:

// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV26Layer } from '@aws-cdk/lambda-layer-kubectl-v26';
import * as lambda from 'aws-cdk-lib/aws-lambda';

declare const fn: lambda.Function;
const kubectl = new KubectlV26Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);

kubectl will be installed under /opt/kubectl/kubectl, and helm will be installed under /opt/helm/helm.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-cdk.lambda-layer-kubectl-v26-2.1.0.tar.gz (29.8 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file aws-cdk.lambda-layer-kubectl-v26-2.1.0.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-kubectl-v26-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a0696b2777ef4221e5402eba0fd8293e32a24b8c833b7d8ad76bad00c37438c5
MD5 11fd51a784646f123f3d26a7df9ba433
BLAKE2b-256 1c730341290494cbe239ba4cb49e74d881bd55ea7d7c0337eef31607364569cd

See more details on using hashes here.

File details

Details for the file aws_cdk.lambda_layer_kubectl_v26-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_kubectl_v26-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee488000f2ab3f4fc8c3ec3a4c5a5425f64278f892ad42dfc3596080856c9df
MD5 8c88a38927c0b89c2c65ba283f91d3c3
BLAKE2b-256 5a182f680841078979808fe386a37679b435fc92e449260e16afd814e5f329c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page