Skip to content

AppProps

Properties for defining a App.

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

Initializer

import com.aliyun.ros.cdk.apigateway.AppProps;
AppProps.builder()
    .appName(java.lang.String)
    .appName(IResolvable)
//  .appCode(java.lang.String)
//  .appCode(IResolvable)
//  .appKey(java.lang.String)
//  .appKey(IResolvable)
//  .appSecret(java.lang.String)
//  .appSecret(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .tags(java.util.List<TagsProperty>)
    .build();

Properties

Name Type Description
appName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appName: The name of the App.Need [4, 26] Chinese\English\Number characters or "_",and should start with Chinese\/English character.
appCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appCode: The app code of the APP.
appKey java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appKey: The key of the APP.
appSecret java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appSecret: The secret of the APP.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Description of the App, less than 180 characters.
tags java.util.List<TagsProperty> Property tags: Tags to attach to app.

appNameRequired

public java.lang.Object getAppName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


appCodeOptional

public java.lang.Object getAppCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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

public java.lang.Object getAppKey();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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

public java.lang.Object getAppSecret();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property appSecret: The secret of the APP.

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


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


tagsOptional

public java.util.List<TagsProperty> getTags();

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.