Skip to content

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_nameRequired

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

Property aliasName: Alias name.


service_nameRequired

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

Property serviceName: Service name.


additional_versionOptional

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

Property additionalVersion: Additional version.


additional_weightOptional

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.


descriptionOptional

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

Property description: Version description.


version_idOptional

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

Property versionId: Version ID.