Skip to content

AppProps

Properties for defining a App.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-app

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapigateway"
&alicloudroscdkapigateway.AppProps {
    AppName: interface{},
    AppCode: interface{},
    AppKey: interface{},
    AppSecret: interface{},
    Description: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkapigateway.RosApp.TagsProperty,
}

Properties

Name Type Description
AppName interface{} Property appName: The name of the App.Need [4, 26] Chinese\English\Number characters or "_",and should start with Chinese\/English character.
AppCode interface{} Property appCode: The app code of the APP.
AppKey interface{} Property appKey: The key of the APP.
AppSecret interface{} Property appSecret: The secret of the APP.
Description interface{} Property description: Description of the App, less than 180 characters.
Tags *[]TagsProperty Property tags: Tags to attach to app.

AppNameRequired

AppName interface{}
  • Type: interface{}

Property appName: The name of the App.Need [4, 26] Chinese\English\Number characters or "_",and should start with Chinese\/English character.


AppCodeOptional

AppCode interface{}
  • Type: interface{}

Property appCode: The app code of the APP.

The length is 8~128 English characters, which can contain numbers, underscores (_) and dashes (-),and AppCode is globally unique.


AppKeyOptional

AppKey interface{}
  • Type: interface{}

Property appKey: The key of the APP.

The length is 8~128 English characters, which can contain numbers, underscores (_) and dashes (-), and AppKey is globally unique.


AppSecretOptional

AppSecret interface{}
  • Type: interface{}

Property appSecret: The secret of the APP.

The length is 8~128 English characters, which can contain numbers, underscores (_) and dashes (-).


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Description of the App, less than 180 characters.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to app.

Max support 20 tags to add during create app. Each tag with two properties Key and Value, and Key is required.