| Class | Description |
|---|---|
| AwsCliLayer |
(experimental) An AWS Lambda layer that includes the AWS CLI.
|
---
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.
Copyright © 2021. All rights reserved.