protego cli包装器

protego-cli的Python项目详细描述


安装:

$ pip install protego-cli

运行cli工具:

usage: protego_fsp_layer.py [-h] -m {get,add,reset,remove}[-p PROTEGO_ACCOUNT_ID][-t PROTEGO_ACCESS_TOKEN][-a AWS_PROFILE][-s FSP_VERSION][-q][-v][-r RUNTIME][-R REGION][-o OUTPUT][-f FUNCTION_ARN][--version]

Protego FSP Layers Info Add / Get / Remove

optional arguments:
  -h, --help            show this help message and exit
  -m {get,add,reset,remove}, --mode {get,add,reset,remove}
                        Action Mode
  -p PROTEGO_ACCOUNT_ID, --protego-account-id PROTEGO_ACCOUNT_ID
                        Protego Account ID
  -t PROTEGO_ACCESS_TOKEN, --protego-access-token PROTEGO_ACCESS_TOKEN
                        Protego Token
  -a AWS_PROFILE, --aws-profile AWS_PROFILE
                        (Optional) AWS profile
  -s FSP_VERSION, --fsp-version FSP_VERSION
                        (Optional) FSP Version(default: latest)
  -q, --quiet           (Optional) Quiet mode: output only the json output
  -v, --verbose         (Optional) Verbose debug logs
  -r RUNTIME, --runtime RUNTIME
                        (Optional) Environment runtime[python2.7, python3.6, python3.7, nodejs6.10, nodejs8.10]
  -R REGION, --region REGION
                        (Optional) The region of which FSP layer
  -o OUTPUT, --output OUTPUT
                        (Optional) Output file name(default: protego_layers.json)
  -f FUNCTION_ARN, --function-arn FUNCTION_ARN
                        (Optional) Function Arn to add/remove/reset Fsp.
  --version             Display the protegocli tool version

protego.yml文件示例:

    Account:
      ProtegoAccountId: <YourProtegoAccountId>
      ProtegoAccessToken: <YourProtegoAccessToken>


欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在netbeans GUI中使用checknode创建JTree?   java事件无限循环SWT   java Thymeleaf空值检查   javajavax。同样是加密JDK源代码   java getColumnIndex访问外部内存中的特定文件夹   无法在Java代码中打开特定的JAR文件   java如何使用安全约束来保护url的一部分?   windows如何从命令行安装/删除Java快速启动服务   JavaSpring数据JPA保存新实体并获取其所有依赖项   swing Java JButton大小问题   IF语句可以在数学中使用吗。麦克斯在爪哇?   java如何使用POI设置空白excel单元格   java在签名为return int的方法中返回null?   java思想,如何将多个mircoservice项目放在同一个窗口中   直接从intelliJ在系统终端上运行java程序?   java通过POST从React应用程序向Spring Boot发送数组