Skip to content

NacosServiceProps

Properties for defining a NacosService.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-nacosservice

Initializer

import ros_cdk_mse
ros_cdk_mse.NacosServiceProps(
  instance_id: typing.Union[str, IResolvable],
  service_name: typing.Union[str, IResolvable],
  ephemeral: typing.Union[bool, IResolvable] = None,
  group_name: typing.Union[str, IResolvable] = None,
  namespace_id: typing.Union[str, IResolvable] = None,
  protect_threshold: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the instance.
service_name typing.Union[str, ros_cdk_core.IResolvable] Property serviceName: The name of the service.
ephemeral typing.Union[bool, ros_cdk_core.IResolvable] Property ephemeral: Specifies whether the instance is a temporary node.
group_name typing.Union[str, ros_cdk_core.IResolvable] Property groupName: The name of the group.
namespace_id typing.Union[str, ros_cdk_core.IResolvable] Property namespaceId: The ID of the namespace.
protect_threshold typing.Union[str, ros_cdk_core.IResolvable] Property protectThreshold: The protection threshold.

instance_idRequired

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

Property instanceId: The ID of the instance.


service_nameRequired

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

Property serviceName: The name of the service.


ephemeralOptional

ephemeral: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property ephemeral: Specifies whether the instance is a temporary node.

Valid values: true: yes false: no


group_nameOptional

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

Property groupName: The name of the group.


namespace_idOptional

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

Property namespaceId: The ID of the namespace.


protect_thresholdOptional

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

Property protectThreshold: The protection threshold.