Skip to content

ApplicationProps

Properties for defining a Application.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-application

Initializer

import { ApplicationProps } from '@alicloud/ros-cdk-edas'
const applicationProps: ApplicationProps = { ... }

Properties

Name Type Description
applicationName string | @alicloud/ros-cdk-core.IResolvable Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters).
clusterId string | @alicloud/ros-cdk-core.IResolvable Property clusterId: Cluster ID of ECS application.
buildPackId number | @alicloud/ros-cdk-core.IResolvable Property buildPackId: EDAS-Container construct a packet number (available version list acquired through the ListBuildPack API (ConfigId of response) or "container version" table "Building packet number" column acquisition).
componentIds string | @alicloud/ros-cdk-core.IResolvable Property componentIds: Application component ID (available through the query interface to obtain a list of components to the interface ListComponents), when creating the application runtime environment using Apache Tomcat (war packet format Dubbo Application required) or standard Java application (jar package format Spring Boot \/ Spring Cloud applications require) you need to specify when the operating environment.
deployment @alicloud/ros-cdk-core.IResolvable | DeploymentProperty Property deployment: Deploy application information to ECS clusters.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Descriptive information.
ecuInfo string | @alicloud/ros-cdk-core.IResolvable Property ecuInfo: Machine capacity is needed ecu_id (ECS Examples introducing another unique identity EDAS EDAS), the plurality of "," separated (by querying ListScaleOutEcu wherein ecu_id Interface to obtain).
healthCheckUrl string | @alicloud/ros-cdk-core.IResolvable Property healthCheckUrl: Application Health Check URL.
logicalRegionId string | @alicloud/ros-cdk-core.IResolvable Property logicalRegionId: Namespace ID.
packageType string | @alicloud/ros-cdk-core.IResolvable Property packageType: Application packet format, possible values: war or jar.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group id.

applicationNameRequired

public readonly applicationName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property applicationName: The application name (only allow the use of numbers, letters, -, _, up to 36 characters).


clusterIdRequired

public readonly clusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterId: Cluster ID of ECS application.


buildPackIdOptional

public readonly buildPackId: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property buildPackId: EDAS-Container construct a packet number (available version list acquired through the ListBuildPack API (ConfigId of response) or "container version" table "Building packet number" column acquisition).

When creating HSF application, this parameter must be specified


componentIdsOptional

public readonly componentIds: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property componentIds: Application component ID (available through the query interface to obtain a list of components to the interface ListComponents), when creating the application runtime environment using Apache Tomcat (war packet format Dubbo Application required) or standard Java application (jar package format Spring Boot \/ Spring Cloud applications require) you need to specify when the operating environment.

Commonly used application component ID and meaning: 4 represents Apache Tomcat 7.0.91,7 represented Apache Tomcat 8.5.42,5 represented OpenJDK 1.8.x, 6 represents OpenJDK 1.7.x


deploymentOptional

public readonly deployment: IResolvable | DeploymentProperty;

Property deployment: Deploy application information to ECS clusters.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: Descriptive information.


ecuInfoOptional

public readonly ecuInfo: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ecuInfo: Machine capacity is needed ecu_id (ECS Examples introducing another unique identity EDAS EDAS), the plurality of "," separated (by querying ListScaleOutEcu wherein ecu_id Interface to obtain).


healthCheckUrlOptional

public readonly healthCheckUrl: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property healthCheckUrl: Application Health Check URL.


logicalRegionIdOptional

public readonly logicalRegionId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property logicalRegionId: Namespace ID.


packageTypeOptional

public readonly packageType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property packageType: Application packet format, possible values: war or jar.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: Resource group id.