Skip navigation links

Package software.amazon.awscdk.lambdalayer.awscli

AWS Lambda Layer with AWS CLI

See: Description

Package software.amazon.awscdk.lambdalayer.awscli Description

AWS Lambda Layer with AWS CLI

---

cdk-constructs: Experimental

The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


This module exports a single class called AwsCliLayer which is a lambda.Layer that bundles the AWS CLI.

Usage:

 // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
 Object fn = new Function(...);
 fn.addLayers(new AwsCliLayer(stack, "AwsCliLayer"));
 

The CLI will be installed under /opt/awscli/aws.

Skip navigation links

Copyright © 2021. All rights reserved.