@inventorjs/sls-core
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

临时密钥授权语法

推荐采用临时密钥限制资源的方式,对 stage 进行授权,实现多用户安全开发接口文档地址

{
  "version": "2.0",
  "statement": [
    {
      "effect": "allow",
      "action": [
        "sls:RunComponent",
        "sls:GetInstance",
        "sls:ListInstances"
      ],
      "resource": [
        "qcs::sls:${region}:uin/${uin}:appname/${app}/stagename/${stage}"
      ]
    }
  ]
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.160latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20

Package Sidebar

Install

npm i @inventorjs/sls-core

Weekly Downloads

0

Version

0.0.16

License

MIT

Unpacked Size

61.7 kB

Total Files

25

Last publish

Collaborators

  • sunkeysun