edit-icon download-icon

ALIYUN::ApiGateway::App

Last Updated: Jun 13, 2018

ALIYUN::ApiGateway::App can be used to create apps. An app is your identification to call a third-party API. If you want to call a third-party API, you must create an app.

Syntax

  1. {
  2. "Type" : "ALIYUN::ApiGateway::App",
  3. "Properties" : {
  4. "Description" : String,
  5. "AppName" : String
  6. }
  7. }

Attributes

Attribute name Type Required Update allowed Description
AppName string Yes Yes The app name which must be unique. It must contain 4 to 15 characters, including Chinese characters, English letters, numbers, and underscores (_), and must begin with a Chinese character or an English letter
Description string No Yes App description,up to 180 characters

Return values

Fn::GetAtt

  • AppKey: the Key of the app.
  • AppSecret: the Secret of the app.
  • AppId: the app ID.

Example

  1. {
  2. "ROSTemplateFormatVersion": "2015-09-01",
  3. "Resources": {
  4. "APP": {
  5. "Type": "ALIYUN::ApiGateway::App",
  6. "Properties": {
  7. "AppName": "my_test_app",
  8. "Description": "demo"
  9. }
  10. }
  11. }
  12. }
Thank you! We've received your feedback.