agent-claw: automated task changes
This commit is contained in:
64
cdk/node_modules/@aws-cdk/asset-awscli-v1/.jsii
generated
vendored
Normal file
64
cdk/node_modules/@aws-cdk/asset-awscli-v1/.jsii
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"author": {
|
||||
"email": "aws-cdk-dev@amazon.com",
|
||||
"name": "Amazon Web Services",
|
||||
"organization": true,
|
||||
"roles": [
|
||||
"author"
|
||||
]
|
||||
},
|
||||
"description": "A library that contains the AWS CLI for use in Lambda Layers",
|
||||
"docs": {
|
||||
"stability": "stable"
|
||||
},
|
||||
"homepage": "https://github.com/cdklabs/awscdk-asset-awscli#readme",
|
||||
"jsiiVersion": "5.9.34 (build 8773a22)",
|
||||
"keywords": [
|
||||
"cdk"
|
||||
],
|
||||
"license": "Apache-2.0",
|
||||
"metadata": {
|
||||
"jsii": {
|
||||
"pacmak": {
|
||||
"hasDefaultInterfaces": true
|
||||
}
|
||||
},
|
||||
"tscRootDir": "src"
|
||||
},
|
||||
"name": "@aws-cdk/asset-awscli-v1",
|
||||
"readme": {
|
||||
"markdown": "# Asset with AWS CLI v1\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis module bundles the AWS CLI v1 as a local asset. It exposes\nconstants `ASSET_FILE` and `LAYER_SOURCE_DIR` that can be consumed\nvia the CDK `Asset` construct.\n\nAny Lambda Function that uses uses this asset must use a Python 3.x\nruntime.\n\nUsage:\n\n```ts\n// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport { ASSET_FILE, LAYER_SOURCE_DIR } from '@aws-cdk/asset-awscli-v1';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3_assets from 'aws-cdk-lib/aws-s3-assets';\nimport { FileSystem } from 'aws-cdk-lib';\n\ndeclare const fn: lambda.Function;\nconst asset = new s3_assets.Asset(this, 'layer-asset', {\n path: ASSET_FILE,\n assetHash: FileSystem.fingerprint(LAYER_SOURCE_DIR),\n});\nfn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {\n code: lambda.Code.fromBucket(asset.bucket, asset.s3ObjectKey),\n}));\n```\n\nThe CLI will be installed under `/opt/awscli/aws`.\n"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cdklabs/awscdk-asset-awscli.git"
|
||||
},
|
||||
"schema": "jsii/0.10.0",
|
||||
"targets": {
|
||||
"dotnet": {
|
||||
"namespace": "Amazon.CDK.Asset.AwsCliV1",
|
||||
"packageId": "Amazon.CDK.Asset.AwsCliV1"
|
||||
},
|
||||
"go": {
|
||||
"moduleName": "github.com/cdklabs/awscdk-asset-awscli-go",
|
||||
"packageName": "awscliv1"
|
||||
},
|
||||
"java": {
|
||||
"maven": {
|
||||
"artifactId": "cdk-asset-awscli-v1",
|
||||
"groupId": "software.amazon.awscdk"
|
||||
},
|
||||
"package": "software.amazon.awscdk.cdk.asset.awscli.v1"
|
||||
},
|
||||
"js": {
|
||||
"npm": "@aws-cdk/asset-awscli-v1"
|
||||
},
|
||||
"python": {
|
||||
"distName": "aws-cdk.asset-awscli-v1",
|
||||
"module": "aws_cdk.asset_awscli_v1"
|
||||
}
|
||||
},
|
||||
"types": {},
|
||||
"version": "2.2.273",
|
||||
"fingerprint": "T89lS+Ggz0ZESd2hJ5LxStufitlUppIQw11D2xCLWbs="
|
||||
}
|
||||
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/.jsii.tabl.json
generated
vendored
Normal file
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/.jsii.tabl.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
6
cdk/node_modules/@aws-cdk/asset-awscli-v1/API.md
generated
vendored
Normal file
6
cdk/node_modules/@aws-cdk/asset-awscli-v1/API.md
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# API Reference <a name="API Reference" id="api-reference"></a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4
cdk/node_modules/@aws-cdk/asset-awscli-v1/CODE_OF_CONDUCT.md
generated
vendored
Normal file
4
cdk/node_modules/@aws-cdk/asset-awscli-v1/CODE_OF_CONDUCT.md
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
## Code of Conduct
|
||||
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
|
||||
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
|
||||
opensource-codeofconduct@amazon.com with any additional questions or comments.
|
||||
59
cdk/node_modules/@aws-cdk/asset-awscli-v1/CONTRIBUTING.md
generated
vendored
Normal file
59
cdk/node_modules/@aws-cdk/asset-awscli-v1/CONTRIBUTING.md
generated
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
# Contributing Guidelines
|
||||
|
||||
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
|
||||
documentation, we greatly value feedback and contributions from our community.
|
||||
|
||||
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
|
||||
information to effectively respond to your bug report or contribution.
|
||||
|
||||
|
||||
## Reporting Bugs/Feature Requests
|
||||
|
||||
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
|
||||
|
||||
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
|
||||
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
|
||||
|
||||
* A reproducible test case or series of steps
|
||||
* The version of our code being used
|
||||
* Any modifications you've made relevant to the bug
|
||||
* Anything unusual about your environment or deployment
|
||||
|
||||
|
||||
## Contributing via Pull Requests
|
||||
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
|
||||
|
||||
1. You are working against the latest source on the *awscli-v1/main* branch.
|
||||
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
|
||||
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
|
||||
|
||||
To send us a pull request, please:
|
||||
|
||||
1. Fork the repository.
|
||||
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
|
||||
3. Ensure local tests pass.
|
||||
4. Commit to your fork using clear commit messages.
|
||||
5. Send us a pull request, answering any default questions in the pull request interface.
|
||||
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
|
||||
|
||||
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
|
||||
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
|
||||
|
||||
|
||||
## Finding contributions to work on
|
||||
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
|
||||
|
||||
|
||||
## Code of Conduct
|
||||
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
|
||||
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
|
||||
opensource-codeofconduct@amazon.com with any additional questions or comments.
|
||||
|
||||
|
||||
## Security issue notifications
|
||||
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
|
||||
|
||||
|
||||
## Licensing
|
||||
|
||||
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
|
||||
202
cdk/node_modules/@aws-cdk/asset-awscli-v1/LICENSE
generated
vendored
Normal file
202
cdk/node_modules/@aws-cdk/asset-awscli-v1/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/NOTICE
generated
vendored
Normal file
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/NOTICE
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
38
cdk/node_modules/@aws-cdk/asset-awscli-v1/README.md
generated
vendored
Normal file
38
cdk/node_modules/@aws-cdk/asset-awscli-v1/README.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# Asset with AWS CLI v1
|
||||
<!--BEGIN STABILITY BANNER-->
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
<!--END STABILITY BANNER-->
|
||||
|
||||
This module bundles the AWS CLI v1 as a local asset. It exposes
|
||||
constants `ASSET_FILE` and `LAYER_SOURCE_DIR` that can be consumed
|
||||
via the CDK `Asset` construct.
|
||||
|
||||
Any Lambda Function that uses uses this asset must use a Python 3.x
|
||||
runtime.
|
||||
|
||||
Usage:
|
||||
|
||||
```ts
|
||||
// AwsCliLayer bundles the AWS CLI in a lambda layer
|
||||
import { ASSET_FILE, LAYER_SOURCE_DIR } from '@aws-cdk/asset-awscli-v1';
|
||||
import * as lambda from 'aws-cdk-lib/aws-lambda';
|
||||
import * as s3_assets from 'aws-cdk-lib/aws-s3-assets';
|
||||
import { FileSystem } from 'aws-cdk-lib';
|
||||
|
||||
declare const fn: lambda.Function;
|
||||
const asset = new s3_assets.Asset(this, 'layer-asset', {
|
||||
path: ASSET_FILE,
|
||||
assetHash: FileSystem.fingerprint(LAYER_SOURCE_DIR),
|
||||
});
|
||||
fn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {
|
||||
code: lambda.Code.fromBucket(asset.bucket, asset.s3ObjectKey),
|
||||
}));
|
||||
```
|
||||
|
||||
The CLI will be installed under `/opt/awscli/aws`.
|
||||
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/.dockerignore
generated
vendored
Normal file
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/.dockerignore
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
build.sh
|
||||
59
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/Dockerfile
generated
vendored
Normal file
59
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/Dockerfile
generated
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
FROM public.ecr.aws/sam/build-python3.11
|
||||
|
||||
RUN mkdir -p /opt
|
||||
WORKDIR /tmp
|
||||
|
||||
#
|
||||
# tools
|
||||
#
|
||||
|
||||
RUN yum update -y \
|
||||
&& yum install -y zip unzip wget tar gzip
|
||||
|
||||
#
|
||||
# aws cli
|
||||
#
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN python -m pip install -r requirements.txt -t /opt/awscli
|
||||
|
||||
#
|
||||
# Add the LICENSE file
|
||||
#
|
||||
|
||||
COPY LICENSE /opt/awscli/LICENSE
|
||||
|
||||
#
|
||||
# organize for self-contained usage
|
||||
#
|
||||
|
||||
RUN mv /opt/awscli/bin/aws /opt/awscli
|
||||
|
||||
#
|
||||
# cleanup
|
||||
#
|
||||
|
||||
RUN rm -rf \
|
||||
/opt/awscli/pip* \
|
||||
/opt/awscli/setuptools* \
|
||||
&& cd /opt/awscli/awscli/examples \
|
||||
&& ls | grep -v "global_options.rst" | xargs rm -rf
|
||||
|
||||
#
|
||||
# Test that the CLI works
|
||||
#
|
||||
|
||||
RUN yum install -y groff
|
||||
RUN /opt/awscli/aws help
|
||||
|
||||
#
|
||||
# create the bundle
|
||||
#
|
||||
|
||||
RUN cd /opt \
|
||||
&& zip --symlinks -r ../layer.zip * \
|
||||
&& echo "/layer.zip is ready" \
|
||||
&& ls -alh /layer.zip;
|
||||
|
||||
WORKDIR /
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
80
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/LICENSE
generated
vendored
Normal file
80
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
# AWS CLI License Information
|
||||
|
||||
## AWS CLI - Apache License 2.0
|
||||
|
||||
Copyright 2012-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
A copy of the License is located at
|
||||
|
||||
http://aws.amazon.com/apache2.0/
|
||||
|
||||
or in the "license" file accompanying this file. This file is
|
||||
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License.
|
||||
|
||||
---
|
||||
|
||||
## Third-Party Libraries
|
||||
|
||||
The following third-party libraries are included in this distribution and are subject to their respective licenses:
|
||||
|
||||
1. **Python Requests** (Apache License 2.0)
|
||||
- Copyright 2012-2020 Kenneth Reitz
|
||||
- [Requests GitHub](https://github.com/psf/requests)
|
||||
|
||||
2. **botocore** (Apache License 2.0)
|
||||
- Copyright 2012-2020 Amazon.com, Inc. or its affiliates
|
||||
- [botocore GitHub](https://github.com/boto/botocore)
|
||||
|
||||
3. **s3transfer** (Apache License 2.0)
|
||||
- Copyright 2012-2020 Amazon.com, Inc. or its affiliates
|
||||
- [s3transfer GitHub](https://github.com/boto/s3transfer)
|
||||
|
||||
4. **colorama** (BSD 3-Clause License)
|
||||
- Copyright (c) 2010 Jonathan Hartley
|
||||
- [colorama GitHub](https://github.com/tartley/colorama)
|
||||
|
||||
5. **dateutil** (Apache License 2.0 and BSD 3-Clause License)
|
||||
- Copyright 2003-2011 Gustavo Niemeyer <gustavo@niemeyer.net>
|
||||
- Copyright 2017- Paul Ganssle <paul@ganssle.io>
|
||||
- [dateutil GitHub](https://github.com/dateutil/dateutil)
|
||||
|
||||
6. **docutils** (Python Software Foundation License)
|
||||
- Copyright 2001-2020 David Goodger
|
||||
- [docutils GitHub](https://github.com/docutils/docutils)
|
||||
|
||||
7. **jmespath** (MIT License)
|
||||
- Copyright (c) 2013 Amazon.com, Inc. or its affiliates
|
||||
- [jmespath GitHub](https://github.com/jmespath/jmespath.py)
|
||||
|
||||
8. **pyasn1** (BSD 2-Clause License)
|
||||
- Copyright (c) 2005-2020, Ilya Etingof <etingof@gmail.com>
|
||||
- [pyasn1 GitHub](https://github.com/etingof/pyasn1)
|
||||
|
||||
9. **PyYAML** (MIT License)
|
||||
- Copyright (c) 2017-2021 Ingy döt Net
|
||||
- Copyright (c) 2006-2016 Kirill Simonov
|
||||
- [PyYAML GitHub](https://github.com/yaml/pyyaml)
|
||||
|
||||
10. **rsa** (MIT License)
|
||||
- Copyright (c) 2016 Maxim Biro
|
||||
- [rsa GitHub](https://github.com/sybrenstuvel/python-rsa)
|
||||
|
||||
11. **six** (MIT License)
|
||||
- Copyright (c) 2010-2024 Benjamin Peterson
|
||||
- [six GitHub](https://github.com/benjaminp/six)
|
||||
|
||||
12. **urllib3** (MIT License)
|
||||
- Copyright (c) 2008-2020 Andrey Petrov and contributors.
|
||||
- [urllib3 GitHub](https://github.com/urllib3/urllib3)
|
||||
|
||||
13. **YAML Framework** (CC-BY 2.0)
|
||||
- Copyright: 2005-2013, Dirk Jesse
|
||||
- [YAML Framework Homepage](https://yaml-framework.github.io)
|
||||
|
||||
---
|
||||
|
||||
For full details on these libraries and the full license text, please refer to their respective repositories or documentation.
|
||||
28
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/build.sh
generated
vendored
Executable file
28
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/build.sh
generated
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
mkdir -p ../lib
|
||||
|
||||
echo ">> Building AWS Lambda layer inside a docker image..."
|
||||
|
||||
TAG='aws-lambda-layer'
|
||||
if command -v docker >/dev/null; then
|
||||
DOCKER=docker
|
||||
elif command -v finch >/dev/null; then
|
||||
DOCKER=finch
|
||||
else
|
||||
echo "Neither 'docker' nor 'finch' is available!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
${DOCKER} build -t ${TAG} .
|
||||
|
||||
echo ">> Extracting layer.zip from the build container..."
|
||||
CONTAINER=$(${DOCKER} run -d ${TAG} -- -c 'sleep 60')
|
||||
${DOCKER} cp ${CONTAINER}:/layer.zip ../lib/layer.zip
|
||||
|
||||
echo ">> Stopping container..."
|
||||
${DOCKER} rm -f ${CONTAINER}
|
||||
echo ">> lib/layer.zip is ready"
|
||||
3
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/requirements.txt
generated
vendored
Normal file
3
cdk/node_modules/@aws-cdk/asset-awscli-v1/layer/requirements.txt
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
awscli==1.44.68
|
||||
urllib3>=2.6.3,<3.0.0
|
||||
pyasn1>=0.6.3
|
||||
2
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/awscli-asset.d.ts
generated
vendored
Normal file
2
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/awscli-asset.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare const ASSET_FILE: string;
|
||||
export declare const LAYER_SOURCE_DIR: string;
|
||||
7
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/awscli-asset.js
generated
vendored
Normal file
7
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/awscli-asset.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.LAYER_SOURCE_DIR = exports.ASSET_FILE = void 0;
|
||||
const path = require("path");
|
||||
exports.ASSET_FILE = path.join(__dirname, 'layer.zip');
|
||||
exports.LAYER_SOURCE_DIR = path.join(__dirname, '..', 'layer');
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2xpLWFzc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2F3c2NsaS1hc3NldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBNkI7QUFFaEIsUUFBQSxVQUFVLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUsV0FBVyxDQUFDLENBQUM7QUFDL0MsUUFBQSxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBRSxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBwYXRoIGZyb20gJ3BhdGgnO1xuXG5leHBvcnQgY29uc3QgQVNTRVRfRklMRSA9IHBhdGguam9pbihfX2Rpcm5hbWUsICdsYXllci56aXAnKTtcbmV4cG9ydCBjb25zdCBMQVlFUl9TT1VSQ0VfRElSID0gcGF0aC5qb2luKF9fZGlybmFtZSwgJy4uJywgJ2xheWVyJyk7XG4iXX0=
|
||||
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/index.d.ts
generated
vendored
Normal file
1
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from './awscli-asset';
|
||||
18
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/index.js
generated
vendored
Normal file
18
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__exportStar(require("./awscli-asset"), exports);
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGlEQUErQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYXdzY2xpLWFzc2V0JztcbiJdfQ==
|
||||
BIN
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/layer.zip
generated
vendored
Normal file
BIN
cdk/node_modules/@aws-cdk/asset-awscli-v1/lib/layer.zip
generated
vendored
Normal file
Binary file not shown.
165
cdk/node_modules/@aws-cdk/asset-awscli-v1/package.json
generated
vendored
Normal file
165
cdk/node_modules/@aws-cdk/asset-awscli-v1/package.json
generated
vendored
Normal file
@@ -0,0 +1,165 @@
|
||||
{
|
||||
"name": "@aws-cdk/asset-awscli-v1",
|
||||
"description": "A library that contains the AWS CLI for use in Lambda Layers",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cdklabs/awscdk-asset-awscli.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npx projen build",
|
||||
"bump": "npx projen bump",
|
||||
"clobber": "npx projen clobber",
|
||||
"compat": "npx projen compat",
|
||||
"compile": "npx projen compile",
|
||||
"default": "npx projen default",
|
||||
"docgen": "npx projen docgen",
|
||||
"eject": "npx projen eject",
|
||||
"eslint": "npx projen eslint",
|
||||
"integ": "npx projen integ",
|
||||
"integ:update": "npx projen integ:update",
|
||||
"package": "npx projen package",
|
||||
"package-all": "npx projen package-all",
|
||||
"package:dotnet": "npx projen package:dotnet",
|
||||
"package:go": "npx projen package:go",
|
||||
"package:java": "npx projen package:java",
|
||||
"package:js": "npx projen package:js",
|
||||
"package:python": "npx projen package:python",
|
||||
"post-compile": "npx projen post-compile",
|
||||
"post-upgrade": "npx projen post-upgrade",
|
||||
"pre-compile": "npx projen pre-compile",
|
||||
"release:awscli-v1/main": "npx projen release:awscli-v1/main",
|
||||
"rosetta:extract": "npx projen rosetta:extract",
|
||||
"test": "npx projen test",
|
||||
"test:watch": "npx projen test:watch",
|
||||
"unbump": "npx projen unbump",
|
||||
"upgrade": "npx projen upgrade",
|
||||
"upgrade-cdklabs-projen-project-types": "npx projen upgrade-cdklabs-projen-project-types",
|
||||
"upgrade-dev-deps": "npx projen upgrade-dev-deps",
|
||||
"watch": "npx projen watch",
|
||||
"projen": "npx projen"
|
||||
},
|
||||
"author": {
|
||||
"name": "Amazon Web Services",
|
||||
"email": "aws-cdk-dev@amazon.com",
|
||||
"organization": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aws-cdk/integ-runner": "latest",
|
||||
"@aws-cdk/integ-tests-alpha": "latest",
|
||||
"@stylistic/eslint-plugin": "^2",
|
||||
"@types/jest": "^29",
|
||||
"@types/node": "^16",
|
||||
"@typescript-eslint/eslint-plugin": "^8",
|
||||
"@typescript-eslint/parser": "^8",
|
||||
"aws-cdk-lib": "^2.0.0",
|
||||
"cdklabs-projen-project-types": "^0.3.12",
|
||||
"commit-and-tag-version": "^12",
|
||||
"constructs": "^10.0.5",
|
||||
"eslint": "^9",
|
||||
"eslint-import-resolver-typescript": "^3.10.1",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"jest": "^29",
|
||||
"jest-junit": "^16",
|
||||
"jsii": "^5",
|
||||
"jsii-diff": "^1.127.0",
|
||||
"jsii-docgen": "^10.5.0",
|
||||
"jsii-pacmak": "^1.127.0",
|
||||
"jsii-rosetta": "^5",
|
||||
"projen": "^0.98.31",
|
||||
"ts-jest": "^29",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5"
|
||||
},
|
||||
"keywords": [
|
||||
"cdk"
|
||||
],
|
||||
"main": "lib/index.js",
|
||||
"license": "Apache-2.0",
|
||||
"homepage": "https://github.com/cdklabs/awscdk-asset-awscli#readme",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"version": "2.2.273",
|
||||
"jest": {
|
||||
"coverageProvider": "v8",
|
||||
"testMatch": [
|
||||
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)",
|
||||
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)",
|
||||
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)",
|
||||
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)"
|
||||
],
|
||||
"clearMocks": true,
|
||||
"collectCoverage": true,
|
||||
"coverageReporters": [
|
||||
"json",
|
||||
"lcov",
|
||||
"clover",
|
||||
"cobertura",
|
||||
"text"
|
||||
],
|
||||
"coverageDirectory": "coverage",
|
||||
"coveragePathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"testPathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"watchPathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"reporters": [
|
||||
"default",
|
||||
[
|
||||
"jest-junit",
|
||||
{
|
||||
"outputDirectory": "test-reports"
|
||||
}
|
||||
]
|
||||
],
|
||||
"transform": {
|
||||
"^.+\\.[t]sx?$": [
|
||||
"ts-jest",
|
||||
{
|
||||
"tsconfig": "tsconfig.dev.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"types": "lib/index.d.ts",
|
||||
"stability": "stable",
|
||||
"jsii": {
|
||||
"outdir": "dist",
|
||||
"targets": {
|
||||
"java": {
|
||||
"package": "software.amazon.awscdk.cdk.asset.awscli.v1",
|
||||
"maven": {
|
||||
"groupId": "software.amazon.awscdk",
|
||||
"artifactId": "cdk-asset-awscli-v1"
|
||||
}
|
||||
},
|
||||
"python": {
|
||||
"distName": "aws-cdk.asset-awscli-v1",
|
||||
"module": "aws_cdk.asset_awscli_v1"
|
||||
},
|
||||
"dotnet": {
|
||||
"namespace": "Amazon.CDK.Asset.AwsCliV1",
|
||||
"packageId": "Amazon.CDK.Asset.AwsCliV1"
|
||||
},
|
||||
"go": {
|
||||
"moduleName": "github.com/cdklabs/awscdk-asset-awscli-go",
|
||||
"packageName": "awscliv1"
|
||||
}
|
||||
},
|
||||
"tsc": {
|
||||
"outDir": "lib",
|
||||
"rootDir": "src"
|
||||
}
|
||||
},
|
||||
"jsiiRosetta": {
|
||||
"exampleDependencies": {
|
||||
"aws-cdk-lib": "^2.0.0",
|
||||
"constructs": "^10.0.5"
|
||||
}
|
||||
},
|
||||
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
||||
}
|
||||
13
cdk/node_modules/@aws-cdk/asset-awscli-v1/rosetta/default.ts-fixture
generated
vendored
Normal file
13
cdk/node_modules/@aws-cdk/asset-awscli-v1/rosetta/default.ts-fixture
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Fixture with packages imported, but nothing else
|
||||
import { Construct } from 'constructs';
|
||||
import {
|
||||
Stack,
|
||||
} from 'aws-cdk-lib';
|
||||
|
||||
class Fixture extends Stack {
|
||||
constructor(scope: Construct, id: string) {
|
||||
super(scope, id);
|
||||
|
||||
/// here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user