ALIYUN::ApiGateway::Signature类型用于创建后端签名。
语法
{
  "Type": "ALIYUN::ApiGateway::Signature",
  "Properties": {
    "SignatureSecret": String,
    "SignatureName": String,
    "SignatureKey": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| SignatureKey | String | 是 | 是 | 签名的Key值 | 长度为6~20个字符,以英文字符开头,可包含英文字符、数字和下划线(_)。 | 
| SignatureName | String | 是 | 否 | 签名的名称 | 长度为4~50个字符,以英文字符或中文字符开头,可包含英文字符、中文字符、数字和下划线(_)。 | 
| SignatureSecret | String | 是 | 是 | 签名的Secret值 | 长度为6~30个字符,以英文字符开头,可包含英文字符、数字、下划线(_)及以下特殊字符: 
 | 
返回值
Fn::GetAtt
SignatureId:后端签名ID。
示例
说明 
请您根据实际情况更改脱敏的参数取值,例如SignatureName、SignatureKey、SignatureSecret。
YAML格式
ROSTemplateFormatVersion: '2015-09-01'
Resources:
  Signature:
    Type: ALIYUN::ApiGateway::Signature
    Properties:
      SignatureName: demo_****
      SignatureKey: demo_test****
      SignatureSecret: demo_test_se****JSON格式
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "Signature": {
      "Type": "ALIYUN::ApiGateway::Signature",
      "Properties": {
        "SignatureName": "demo_****",
        "SignatureKey": "demo_test****",
        "SignatureSecret": "demo_test_se****"
      }
    }
  }
}该文章对您有帮助吗?