Skip to content

AppProps

Properties for defining a App.

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

Initializer

import ros_cdk_apigateway
ros_cdk_apigateway.AppProps(
  app_name: typing.Union[str, IResolvable],
  app_code: typing.Union[str, IResolvable] = None,
  app_key: typing.Union[str, IResolvable] = None,
  app_secret: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
app_name typing.Union[str, 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.
app_code typing.Union[str, ros_cdk_core.IResolvable] Property appCode: The app code of the APP.
app_key typing.Union[str, ros_cdk_core.IResolvable] Property appKey: The key of the APP.
app_secret typing.Union[str, ros_cdk_core.IResolvable] Property appSecret: The secret of the APP.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Description of the App, less than 180 characters.
tags typing.List[TagsProperty] Property tags: Tags to attach to app.

app_nameRequired

app_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


app_codeOptional

app_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


app_keyOptional

app_key: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


app_secretOptional

app_secret: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


tagsOptional

tags: typing.List[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.