Skip to content

AppProps

Properties for defining a App.

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

Initializer

import ros_cdk_mobi
ros_cdk_mobi.AppProps(
  app_icon: typing.Union[str, IResolvable],
  app_name: typing.Union[str, IResolvable],
  app_workspace_id: typing.Union[str, IResolvable],
  template: typing.Union[IResolvable, TemplateProperty],
  app_description: typing.Union[str, IResolvable] = None,
  app_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
app_icon typing.Union[str, ros_cdk_core.IResolvable] Property appIcon: Application icon label, The system provides an icon by default, which is given in the form of a label.
app_name typing.Union[str, ros_cdk_core.IResolvable] Property appName: The application name.
app_workspace_id typing.Union[str, ros_cdk_core.IResolvable] Property appWorkspaceId: Workspace ID of application, The application belongs to the workspace.
template typing.Union[ros_cdk_core.IResolvable, TemplateProperty] Property template: Application Template.
app_description typing.Union[str, ros_cdk_core.IResolvable] Property appDescription: Description of application.
app_type typing.Union[str, ros_cdk_core.IResolvable] Property appType: The application type.

app_iconRequired

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

Property appIcon: Application icon label, The system provides an icon by default, which is given in the form of a label.

The default value is -1.


app_nameRequired

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

Property appName: The application name.


app_workspace_idRequired

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

Property appWorkspaceId: Workspace ID of application, The application belongs to the workspace.


templateRequired

template: typing.Union[IResolvable, TemplateProperty]

Property template: Application Template.


app_descriptionOptional

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

Property appDescription: Description of application.


app_typeOptional

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

Property appType: The application type.

Web applications and Copilot applications are supported.

  • Web:Web application.
  • Copilot:Copilot application.