A Lambda Layer that contains kubectl v1.21
Project description
Asset with KubeCtl v1.21
---This library is currently under development. Do not use!
This module exports a single class called KubectlAsset which is an s3_assets.Asset that
bundles the kubectl and the
helm command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.21.0
Usage:
// KubectlAsset bundles the 'kubectl' and 'helm' command lines
import { KubectlAsset } from '@aws-cdk/asset-kubectl-v21';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlAsset(this, 'KubectlAsset');
fn.addLayers(new lambda.LayerVersion(this, 'KubectlLayer', {
code: lambda.Code.fromBucket(kubectl.bucket, kubectl.s3ObjectKey),
}));
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws-cdk.lambda-layer-kubectl-v21-0.0.4.tar.gz.
File metadata
- Download URL: aws-cdk.lambda-layer-kubectl-v21-0.0.4.tar.gz
- Upload date:
- Size: 27.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4242d1feab6ad550ae0629e1c5014fd6eb92bc0f1ec96e9ba0a7d0de76d1bfbe
|
|
| MD5 |
75c3efdb22089ac4e3c0ac04b87bf5e6
|
|
| BLAKE2b-256 |
7ee009c31d40b71fbea9e262d2065fce833eea9b0d99ba31b5ad654e496e04e9
|
File details
Details for the file aws_cdk.lambda_layer_kubectl_v21-0.0.4-py3-none-any.whl.
File metadata
- Download URL: aws_cdk.lambda_layer_kubectl_v21-0.0.4-py3-none-any.whl
- Upload date:
- Size: 27.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb2694ec952b89837659242a5d59fea8399e17c3b6e21292c4ccbed980b9a1ad
|
|
| MD5 |
e9499e20590ceaef1bb0b8a18fad0035
|
|
| BLAKE2b-256 |
a86fda36f56da623dd489e8c8116ea1f9359f15fa2587f4fcc6c1ac9ad4f4625
|