ALIYUN::ApiGateway::Signature

更新时间:
复制 MD 格式

ALIYUN::ApiGateway::Signature creates a backend signature for API Gateway.

Syntax

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

Properties

Property

Type

Required

Editable

Description

Constraint

SignatureKey

String

Yes

Yes

The signature key.

6–20 characters: letters, digits, and underscores (_). Must start with a letter.

SignatureName

String

Yes

No

The signature name.

4–50 characters: letters, digits, and underscores (_). Must start with a letter.

SignatureSecret

String

Yes

Yes

The signature secret.

6–30 characters. Must start with a letter. Supports letters, digits, underscores (_), and the following special characters:

  • @

  • #

  • !

  • *

Return values

Fn::GetAtt

SignatureId: the backend signature ID.

Examples

Note

Replace the masked values of SignatureName, SignatureKey, and SignatureSecret with your actual values.

YAML format

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

JSON format

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