amazon-web-services - 可以在 aws ShellCommandActivity 中将脚本参数与 ScriptUri 一起使用
问题描述
我有一个用例,我需要将脚本参数BASH
传递scriptUri
给ShellCommandActivity
. 这里的AWS
文档提到.The scriptArgument can only be used with command; Using it with scriptUri causes an error.
但是看看这里的 SO 帖子似乎是可能的,以前有没有其他人尝试过这个并让它为你工作?
解决方案
是的,我们可以通过如下方式传递脚本参数,scriptUri
它对我有用。
scriptUri: "s3://location"
scriptArgument: ["%arg1%","%arg2%"]
推荐阅读
- c# - 触发器未在 Unity 中激活
- firebase - 使用 Firestore 文档中的 URL 颤振 video_player
- javascript - 如何让firebase函数模拟器使用生产firebase存储桶
- java - 我如何要求一尘不染的 gradle 插件跳过 licenseHeader 检查
- sql-server - SELECT Queries with Union and order into a new temp table 不起作用
- python - 类复杂数据描述符或类变量的实数和图像?
- laravel - 在 Laravel 应用程序中是否有指定的位置来存储帮助脚本?
- java - 如何使用 spring-data-elasticsearch 存储 java 枚举
- .net - Powershell 中的椭圆曲线秘密值推导原语 (ECSVDP-DH)
- java - 如何配置一尘不染的谷歌格式化程序来格式化大括号