ALIYUN::ApiGateway::Signature is used to create a backend signature.

Syntax

{
  "Type": "ALIYUN::ApiGateway::Signature",
  "Properties": {
    "SignatureSecret": String,
    "SignatureName": String,
    "SignatureKey": String
  }
}

Properties

Property Type Required Editable Description Constraint
SignatureSecret String Yes Yes The secret value of the signature. The secret value must be 6 to 30 characters in length and must start with a letter. It can contain letters, digits, underscores (_), and the following special characters:
  • @
  • #
  • !
  • *
SignatureName String Yes No The name of the signature. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (_). It must start with a letter.
SignatureKey String Yes Yes The key of the signature. The key must be 6 to 20 characters in length and can contain letters, digits, and underscores (_). It must start with a letter.

Response parameters

Fn::GetAtt

SignatureId: the ID of the backend signature.

Examples

  • YAMLformat

    ROSTemplateFormatVersion: '2015-09-01'
    Resources:
      Signature:
        Type: ALIYUN::ApiGateway::Signature
        Properties:
          SignatureName: demo_****
          SignatureKey: demo_test****
          SignatureSecret: demo_test_se****
  • JSONformat

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Resources": {
        "Signature": {
          "Type": "ALIYUN::ApiGateway::Signature",
          "Properties": {
            "SignatureName": "demo_****",
            "SignatureKey": "demo_test****",
            "SignatureSecret": "demo_test_se****"
          }
        }
      }
    }