AliasProps
Properties for defining a Alias
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-alias
Initializer
import ros_cdk_fc
ros_cdk_fc.AliasProps(
alias_name: typing.Union[str, IResolvable],
service_name: typing.Union[str, IResolvable],
additional_version: typing.Union[str, IResolvable] = None,
additional_weight: typing.Union[typing.Union[int, float], IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
version_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
alias_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property aliasName: Alias name. |
service_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property serviceName: Service name. |
additional_version |
typing.Union[str, ros_cdk_core.IResolvable] |
Property additionalVersion: Additional version. |
additional_weight |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property additionalWeight: Traffic weight of additional version. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Version description. |
version_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property versionId: Version ID. |
alias_name
Required
alias_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property aliasName: Alias name.
service_name
Required
service_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property serviceName: Service name.
additional_version
Optional
additional_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property additionalVersion: Additional version.
additional_weight
Optional
additional_weight: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property additionalWeight: Traffic weight of additional version.
From 0 to 100.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Version description.
version_id
Optional
version_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property versionId: Version ID.