# AWS Lambda Layer with AWS CLI
<!--BEGIN STABILITY BANNER-->---
![End-of-Support](https://img.shields.io/badge/End--of--Support-critical.svg?style=for-the-badge)
> AWS CDK v1 has reached End-of-Support on 2023-06-01.
> This package is no longer being updated, and users should migrate to AWS CDK v2.
>
> For more information on how to migrate, see the [*Migrating to AWS CDK v2* guide](https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html).
---
<!--END STABILITY BANNER-->
This module exports a single class called `AwsCliLayer` which is a `lambda.Layer` that bundles the AWS CLI.
Any Lambda Function that uses this layer must use a Python 3.x runtime.
Usage:
```python
# AwsCliLayer bundles the AWS CLI in a lambda layer
from aws_cdk.lambda_layer_awscli import AwsCliLayer
# fn: lambda.Function
fn.add_layers(AwsCliLayer(self, "AwsCliLayer"))
```
The CLI will be installed under `/opt/awscli/aws`.
Raw data
{
"_id": null,
"home_page": "https://github.com/aws/aws-cdk",
"name": "aws-cdk.lambda-layer-awscli",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Amazon Web Services",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/63/e2/7a77ff2f9ac09d9e0ab01374bbb8452e35aca7ff839146c5d0f638dc83b3/aws-cdk.lambda-layer-awscli-1.204.0.tar.gz",
"platform": null,
"description": "# AWS Lambda Layer with AWS CLI\n\n<!--BEGIN STABILITY BANNER-->---\n\n\n![End-of-Support](https://img.shields.io/badge/End--of--Support-critical.svg?style=for-the-badge)\n\n> AWS CDK v1 has reached End-of-Support on 2023-06-01.\n> This package is no longer being updated, and users should migrate to AWS CDK v2.\n>\n> For more information on how to migrate, see the [*Migrating to AWS CDK v2* guide](https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html).\n\n---\n<!--END STABILITY BANNER-->\n\nThis module exports a single class called `AwsCliLayer` which is a `lambda.Layer` that bundles the AWS CLI.\n\nAny Lambda Function that uses this layer must use a Python 3.x runtime.\n\nUsage:\n\n```python\n# AwsCliLayer bundles the AWS CLI in a lambda layer\nfrom aws_cdk.lambda_layer_awscli import AwsCliLayer\n\n# fn: lambda.Function\n\nfn.add_layers(AwsCliLayer(self, \"AwsCliLayer\"))\n```\n\nThe CLI will be installed under `/opt/awscli/aws`.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "An AWS Lambda layer that contains the AWS CLI",
"version": "1.204.0",
"project_urls": {
"Homepage": "https://github.com/aws/aws-cdk",
"Source": "https://github.com/aws/aws-cdk.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "225d5454c48cdbffb12007d902d34ab1d5237fe4211d943a818a2418ad902b49",
"md5": "e134baa74e702a77d679aa958b7d5951",
"sha256": "1e4b877754bede2dd97f69e52cd1a6cb1ec8d7071511c598baa1e2f380948432"
},
"downloads": -1,
"filename": "aws_cdk.lambda_layer_awscli-1.204.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e134baa74e702a77d679aa958b7d5951",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 15123542,
"upload_time": "2023-06-19T21:02:18",
"upload_time_iso_8601": "2023-06-19T21:02:18.570708Z",
"url": "https://files.pythonhosted.org/packages/22/5d/5454c48cdbffb12007d902d34ab1d5237fe4211d943a818a2418ad902b49/aws_cdk.lambda_layer_awscli-1.204.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "63e27a77ff2f9ac09d9e0ab01374bbb8452e35aca7ff839146c5d0f638dc83b3",
"md5": "7f1cf9b72c62c330925f39c304342c2e",
"sha256": "f7f2f65e2e0caef0cbf1e19e2c20f67fc017d8ea4ade01ea3c8e8550a8c5a5ac"
},
"downloads": -1,
"filename": "aws-cdk.lambda-layer-awscli-1.204.0.tar.gz",
"has_sig": false,
"md5_digest": "7f1cf9b72c62c330925f39c304342c2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 15124227,
"upload_time": "2023-06-19T21:08:18",
"upload_time_iso_8601": "2023-06-19T21:08:18.291977Z",
"url": "https://files.pythonhosted.org/packages/63/e2/7a77ff2f9ac09d9e0ab01374bbb8452e35aca7ff839146c5d0f638dc83b3/aws-cdk.lambda-layer-awscli-1.204.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-19 21:08:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aws",
"github_project": "aws-cdk",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aws-cdk.lambda-layer-awscli"
}