ApplicationProps
Properties for defining a Application
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sae-application
Initializer
import { ApplicationProps } from '@alicloud/ros-cdk-sae'
const applicationProps: ApplicationProps = { ... }
Properties
Name | Type | Description |
---|---|---|
appName |
string | @alicloud/ros-cdk-core.IResolvable |
Property appName: Application Name. |
cpu |
number | @alicloud/ros-cdk-core.IResolvable |
Property cpu: Each instance of the CPU required, in units of milli core, can not be zero. |
memory |
number | @alicloud/ros-cdk-core.IResolvable |
Property memory: Each instance of the required memory, in units of MB, can not be zero. |
namespaceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property namespaceId: EDAS namespace corresponding to ID. |
packageType |
string | @alicloud/ros-cdk-core.IResolvable |
Property packageType: Application package type. |
replicas |
number | @alicloud/ros-cdk-core.IResolvable |
Property replicas: The initial number of instances. |
acrAssumeRoleArn |
string | @alicloud/ros-cdk-core.IResolvable |
Property acrAssumeRoleArn: The ARN of the RAM role required when pulling the image across accounts. |
acrInstanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property acrInstanceId: Container Image service ACR Enterprise Edition instance ID. |
appDescription |
string | @alicloud/ros-cdk-core.IResolvable |
Property appDescription: Application description. |
appSource |
string | @alicloud/ros-cdk-core.IResolvable |
Property appSource: Application source. |
associateEip |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property associateEip: Whether to bind EIP. |
autoConfig |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property autoConfig: Whether to automatically configure the network environment. |
baseAppId |
string | @alicloud/ros-cdk-core.IResolvable |
Property baseAppId: Base application ID. |
command |
string | @alicloud/ros-cdk-core.IResolvable |
Property command: Mirroring the start command. |
commandArgs |
string | @alicloud/ros-cdk-core.IResolvable |
Property commandArgs: Mirroring the start command parameters. |
configMapMountDesc |
string | @alicloud/ros-cdk-core.IResolvable |
Property configMapMountDesc: ConfigMap mount description. |
customHostAlias |
string | @alicloud/ros-cdk-core.IResolvable |
Property customHostAlias: Custom mapping host vessel. |
deploy |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property deploy: Whether deployed immediately take effect, the default is false. |
edasContainerVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property edasContainerVersion: EDAS pandora runtime environment used by the application. |
enableEbpf |
string | @alicloud/ros-cdk-core.IResolvable |
Property enableEbpf: Whether to enable EBPF. |
envs |
string | @alicloud/ros-cdk-core.IResolvable |
Property envs: Container environment variable parameters. |
imagePullSecrets |
string | @alicloud/ros-cdk-core.IResolvable |
Property imagePullSecrets: Corresponding to the secret dictionary ID. |
imageUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageUrl: Mirroring address. |
jarStartArgs |
string | @alicloud/ros-cdk-core.IResolvable |
Property jarStartArgs: Jar package startup application parameters. |
jarStartOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property jarStartOptions: Jar start the application package option. |
jdk |
string | @alicloud/ros-cdk-core.IResolvable |
Property jdk: Deployment of JDK version of the package depends on. |
kafkaConfigs |
string | @alicloud/ros-cdk-core.IResolvable |
Property kafkaConfigs: Logs are ingested to Kafka configuration summary information. |
liveness |
string | @alicloud/ros-cdk-core.IResolvable |
Property liveness: Container health check, health check fails container will be killed and recovery. |
microRegistration |
string | @alicloud/ros-cdk-core.IResolvable |
Property microRegistration: Select the Nacos registry with the following values: - 0: SAE built-in Nacos. |
microRegistrationConfig |
string | @alicloud/ros-cdk-core.IResolvable |
Property microRegistrationConfig: Registry configuration information. |
mountDesc |
string | @alicloud/ros-cdk-core.IResolvable |
Property mountDesc: Mount Description. |
mountHost |
string | @alicloud/ros-cdk-core.IResolvable |
Property mountHost: nas mount point in the application of vpc. |
nasConfigs |
string | @alicloud/ros-cdk-core.IResolvable |
Property nasConfigs: Configuration to mount the NAS. |
nasId |
string | @alicloud/ros-cdk-core.IResolvable |
Property nasId: Mount the NAS ID, you must be in the same region and cluster. |
ossAkId |
string | @alicloud/ros-cdk-core.IResolvable |
Property ossAkId: AccessKey ID of the OSS. |
ossAkSecret |
string | @alicloud/ros-cdk-core.IResolvable |
Property ossAkSecret: AccessKey Secret of the OSS. |
ossMountDescs |
any[] | @alicloud/ros-cdk-core.IResolvable |
Property ossMountDescs: OSS mount description information. |
packageUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property packageUrl: Deployment packages address. |
packageVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property packageVersion: The version number of the deployed package, War FatJar type required. |
php |
string | @alicloud/ros-cdk-core.IResolvable |
Property php: PHP version. |
phpArmsConfigLocation |
string | @alicloud/ros-cdk-core.IResolvable |
Property phpArmsConfigLocation: The PHP application monitors the mount path and requires you to ensure that the PHP server loads the configuration file for this path. |
phpConfig |
string | @alicloud/ros-cdk-core.IResolvable |
Property phpConfig: PHP configuration file contents. |
phpConfigLocation |
string | @alicloud/ros-cdk-core.IResolvable |
Property phpConfigLocation: PHP application launch configuration mount path, you need to ensure that the PHP server will be started with this configuration file. |
postStart |
string | @alicloud/ros-cdk-core.IResolvable |
Property postStart: Executing the script, such as after starting the format: { "exec": { "command": "cat", "\/ etc \/ group"}}. |
preStop |
string | @alicloud/ros-cdk-core.IResolvable |
Property preStop: Script is executed before stopping the format as: { "exec": { "command": "cat", "\/ etc \/ group"}}. |
programmingLanguage |
string | @alicloud/ros-cdk-core.IResolvable |
Property programmingLanguage: Create the stack language for the application. |
pvtzDiscoverySvc |
string | @alicloud/ros-cdk-core.IResolvable |
Property pvtzDiscoverySvc: Enable K8s Service registration discovery. |
python |
string | @alicloud/ros-cdk-core.IResolvable |
Property python: Python version. |
pythonModules |
string | @alicloud/ros-cdk-core.IResolvable |
Property pythonModules: Install custom module dependencies. |
readiness |
string | @alicloud/ros-cdk-core.IResolvable |
Property readiness: Application launch status check, health check fails repeatedly container will be killed and restarted. |
saeVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property saeVersion: SAE version. |
securityGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupId: Security group ID. |
serviceTags |
string | @alicloud/ros-cdk-core.IResolvable |
Property serviceTags: Service tags. |
slsConfigs |
string | @alicloud/ros-cdk-core.IResolvable |
Property slsConfigs: Log collection configuration file. |
tags |
TagsProperty[] |
Property tags: Tags to attach to application. |
terminationGracePeriodSeconds |
number | @alicloud/ros-cdk-core.IResolvable |
Property terminationGracePeriodSeconds: Graceful offline timeout, default 30, unit of seconds. |
timezone |
string | @alicloud/ros-cdk-core.IResolvable |
Property timezone: Application time zone. |
tomcatConfig |
string | @alicloud/ros-cdk-core.IResolvable |
Property tomcatConfig: Tomcat file configuration, set to "" or "{}" to delete the configuration: - port: Ports in the range of 1024 to 65535 require Root privileges to operate on ports below 1024 Because the container is configured with Admin access, please specify a port greater than 1024. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: EDAS namespace corresponding VPC. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: Application examples where the elastic card virtual switch. |
warStartOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property warStartOptions: War Start the application package option. |
webContainer |
string | @alicloud/ros-cdk-core.IResolvable |
Property webContainer: Tomcat deployment of the package depends on the version. |
appName
Required
public readonly appName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property appName: Application Name.
Allowed numbers, letters and underlined combinations thereof. We must begin with the letters, the maximum length of 36 characters.
cpu
Required
public readonly cpu: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property cpu: Each instance of the CPU required, in units of milli core, can not be zero.
Currently only supports fixed specifications instance type.
memory
Required
public readonly memory: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property memory: Each instance of the required memory, in units of MB, can not be zero.
Currently only supports fixed specifications instance type.
namespaceId
Required
public readonly namespaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property namespaceId: EDAS namespace corresponding to ID.
Canada supports only the name of the scribe lowercase namespace must begin with a letter. Namespace can interface to obtain from DescribeNamespaceList.
packageType
Required
public readonly packageType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property packageType: Application package type.
Support FatJar, War, Image.
replicas
Required
public readonly replicas: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property replicas: The initial number of instances.
acrAssumeRoleArn
Optional
public readonly acrAssumeRoleArn: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property acrAssumeRoleArn: The ARN of the RAM role required when pulling the image across accounts.
acrInstanceId
Optional
public readonly acrInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property acrInstanceId: Container Image service ACR Enterprise Edition instance ID.
Required when ImageUrl serves enterprise edition for container images.
appDescription
Optional
public readonly appDescription: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property appDescription: Application description.
No more than 1024 characters.
appSource
Optional
public readonly appSource: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property appSource: Application source.
associateEip
Optional
public readonly associateEip: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property associateEip: Whether to bind EIP.
The values are explained as follows: - true: Binding. - false: No binding
autoConfig
Optional
public readonly autoConfig: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property autoConfig: Whether to automatically configure the network environment.
The values are explained as follows: - true: SAE automatically config the network environment when creating the application. The values for NamespaceId, VpcId, vSwitchId, and SecurityGroupId are ignored. - false: SAE manually config the network environment when creating the application.
baseAppId
Optional
public readonly baseAppId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property baseAppId: Base application ID.
command
Optional
public readonly command: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property command: Mirroring the start command.
The command object in memory executable container must be. For example: sleep. This command will cause the image to set the original startup command failure.
commandArgs
Optional
public readonly commandArgs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property commandArgs: Mirroring the start command parameters.
Parameters required for the start-command. For example: [ "1d"]
configMapMountDesc
Optional
public readonly configMapMountDesc: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property configMapMountDesc: ConfigMap mount description.
Use the configuration items created on the namespace configuration items page to inject configuration information into the container.
customHostAlias
Optional
public readonly customHostAlias: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property customHostAlias: Custom mapping host vessel.
For example: [{ "hostName": "samplehost", "ip": "127.0.0.1"}]
deploy
Optional
public readonly deploy: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property deploy: Whether deployed immediately take effect, the default is false.
edasContainerVersion
Optional
public readonly edasContainerVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property edasContainerVersion: EDAS pandora runtime environment used by the application.
enableEbpf
Optional
public readonly enableEbpf: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property enableEbpf: Whether to enable EBPF.
Enable application monitoring for non-Java applications. The values are explained as follows: - true: Enable. - false: Disable.
envs
Optional
public readonly envs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property envs: Container environment variable parameters.
For example: [{ "name": "envtmp", "value": "0"}]
imagePullSecrets
Optional
public readonly imagePullSecrets: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imagePullSecrets: Corresponding to the secret dictionary ID.
imageUrl
Optional
public readonly imageUrl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageUrl: Mirroring address.
Image only type of application can be configured to mirror address.
jarStartArgs
Optional
public readonly jarStartArgs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property jarStartArgs: Jar package startup application parameters.
Apply the default startup command: $ JAVA_HOME \/ bin \/ java $ JarStartOptions -jar $ CATALINA_OPTS "$ package_path" $ JarStartArgs
jarStartOptions
Optional
public readonly jarStartOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property jarStartOptions: Jar start the application package option.
Apply the default startup command: $ JAVA_HOME \/ bin \/ java $ JarStartOptions -jar $ CATALINA_OPTS "$ package_path" $ JarStartArgs
jdk
Optional
public readonly jdk: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property jdk: Deployment of JDK version of the package depends on.
Mirroring not supported.
kafkaConfigs
Optional
public readonly kafkaConfigs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property kafkaConfigs: Logs are ingested to Kafka configuration summary information.
The values are explained as follows: - kafkaEndpoint: The service access address for the Kafka API - kafkaInstanceId: Kafka instance ID - kafkaConfigs: Configuration summary information for one or more logs See Request parameters kafkaConfigs for a description of these values.
liveness
Optional
public readonly liveness: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property liveness: Container health check, health check fails container will be killed and recovery.
Currently only supports mode command issued in the container. The columns: { "exec": { "command": [ "sleep", "5s"]}, "initialDelaySeconds": 10, "timeoutSeconds": 11}
microRegistration
Optional
public readonly microRegistration: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property microRegistration: Select the Nacos registry with the following values: - 0: SAE built-in Nacos.
1: User-built Nacos. - 2: MSE commercial version of Nacos.
microRegistrationConfig
Optional
public readonly microRegistrationConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property microRegistrationConfig: Registry configuration information.
mountDesc
Optional
public readonly mountDesc: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mountDesc: Mount Description.
mountHost
Optional
public readonly mountHost: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mountHost: nas mount point in the application of vpc.
nasConfigs
Optional
public readonly nasConfigs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property nasConfigs: Configuration to mount the NAS.
The values are explained as follows: - mountPath: The container mount path - readOnly: A value of false indicates read and write permission. - nasId: NAS ID - mountDomain: The container mount point address For more information, see DescribeMountTargets. - nasPath: NAS relative file directory
nasId
Optional
public readonly nasId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property nasId: Mount the NAS ID, you must be in the same region and cluster.
It must be available to create a mount point limit, or switch on its mount point already in the VPC. If you do not fill, and there mountDescs field, the default will automatically purchase a NAS and mount it onto the switch within the VPC.
ossAkId
Optional
public readonly ossAkId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ossAkId: AccessKey ID of the OSS.
ossAkSecret
Optional
public readonly ossAkSecret: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ossAkSecret: AccessKey Secret of the OSS.
ossMountDescs
Optional
public readonly ossMountDescs: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property ossMountDescs: OSS mount description information.
The parameters are described as follows: - bucketName: The name of the Bucket - bucketPath: The directory or OSS object you created in OSS that will raise an exception if the OSS mount directory does not exist. - mountPath: Your container path in SAE. If the path already exists, it is a covering relationship. If the path doesn't exist, it will be created. - readOnly: This specifies whether the container path has read-only permissions for mount directory resources: - true: Read-only permission - false: Read and write permissions
packageUrl
Optional
public readonly packageUrl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property packageUrl: Deployment packages address.
Only FatJar War or the type of application can be configured to deploy packet address.
packageVersion
Optional
public readonly packageVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property packageVersion: The version number of the deployed package, War FatJar type required.
Please customize it meaning.
php
Optional
public readonly php: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property php: PHP version.
phpArmsConfigLocation
Optional
public readonly phpArmsConfigLocation: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property phpArmsConfigLocation: The PHP application monitors the mount path and requires you to ensure that the PHP server loads the configuration file for this path.
You don't need to worry about the configuration content; SAE will automatically render the correct configuration file.
phpConfig
Optional
public readonly phpConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property phpConfig: PHP configuration file contents.
phpConfigLocation
Optional
public readonly phpConfigLocation: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property phpConfigLocation: PHP application launch configuration mount path, you need to ensure that the PHP server will be started with this configuration file.
postStart
Optional
public readonly postStart: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property postStart: Executing the script, such as after starting the format: { "exec": { "command": "cat", "\/ etc \/ group"}}.
preStop
Optional
public readonly preStop: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property preStop: Script is executed before stopping the format as: { "exec": { "command": "cat", "\/ etc \/ group"}}.
programmingLanguage
Optional
public readonly programmingLanguage: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property programmingLanguage: Create the stack language for the application.
The values are explained as follows: - java: The Java language - php: PHP language. - other: Multiple languages such as Python, C++, Go,.NET, Node.js, etc.
pvtzDiscoverySvc
Optional
public readonly pvtzDiscoverySvc: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property pvtzDiscoverySvc: Enable K8s Service registration discovery.
The values are explained as follows: - serviceName: The name of the service The format is custom-namespace ID, in which the postfix-namespace ID does not support customization and needs to be filled in according to the namespace of the application. For example, choosing the default namespace for the North China 2 (Beijing) region would be -cn-beijing-default. - namespaceId: The namespace ID - portProtocols: Ports and protocols The port is in the range [1,65535] and supports both TCP and UDP protocols. - portAndProtocol: Ports and protocols The port is in the range [1,65535] and supports both TCP and UDP protocols. portProtocols is preferred. If portProtocols is set, only portProtocols will take effect. - enable: Enable K8s Service registration discovery.
python
Optional
public readonly python: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property python: Python version.
Supports PYTHON 3.9.15
pythonModules
Optional
public readonly pythonModules: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property pythonModules: Install custom module dependencies.
The dependencies defined in requirements.txt in the root directory are installed by default. If the package is not configured or customized, you can specify the dependencies to install.
readiness
Optional
public readonly readiness: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property readiness: Application launch status check, health check fails repeatedly container will be killed and restarted.
Do not pass health check of the vessel will not have to enter SLB traffic. For example: { "exec": { "command": [ "sleep", "6s"]}, "initialDelaySeconds": 15, "timeoutSeconds": 12}
saeVersion
Optional
public readonly saeVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property saeVersion: SAE version.
securityGroupId
Optional
public readonly securityGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupId: Security group ID.
serviceTags
Optional
public readonly serviceTags: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property serviceTags: Service tags.
slsConfigs
Optional
public readonly slsConfigs: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property slsConfigs: Log collection configuration file.
tags
Optional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags to attach to application.
Max support 20 tags to add during create application. Each tag with two properties Key and Value, and Key is required.
terminationGracePeriodSeconds
Optional
public readonly terminationGracePeriodSeconds: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property terminationGracePeriodSeconds: Graceful offline timeout, default 30, unit of seconds.
The value ranges from 1 to 300.
timezone
Optional
public readonly timezone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property timezone: Application time zone.
Default Asia\/Shanghai.
tomcatConfig
Optional
public readonly tomcatConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property tomcatConfig: Tomcat file configuration, set to "" or "{}" to delete the configuration: - port: Ports in the range of 1024 to 65535 require Root privileges to operate on ports below 1024 Because the container is configured with Admin access, please specify a port greater than 1024.
If not configured, it defaults to 8080. - contextPath: The access path, defaults to the root directory "\/" - maxThreads: This config the number of connections in the pool; the default is 400. - uriEncoding: Tomcat's encoding formats, including UTF-8, ISO-8859-1, GBK, and GB2312 If not set, it defaults to ISO-8859-1. - useBodyEncodingForUri: Whether to useBodyEncoding for URL (defaults to true).
vpcId
Optional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: EDAS namespace corresponding VPC.
In Serverless in a corresponding one of the VPC namespace only, and can not be modified. Serverless first created in the application name space will form a binding relationship. You may correspond to a plurality of namespaces VPC. Do not fill was VpcId namespace binding.
vSwitchId
Optional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: Application examples where the elastic card virtual switch.
The switch must be located above the VPC. The same switch with EDAS namespace binding relationship. Do not fill was VSwitchId namespace binding.
warStartOptions
Optional
public readonly warStartOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property warStartOptions: War Start the application package option.
Apply the default startup command: java $ JAVA_OPTS $ CATALINA_OPTS -Options org.apache.catalina.startup.Bootstrap "$ @" start
webContainer
Optional
public readonly webContainer: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property webContainer: Tomcat deployment of the package depends on the version.
Mirroring not supported.