Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq-instance

Initializer

import ros_cdk_rocketmq
ros_cdk_rocketmq.InstanceProps(
  instance_name: typing.Union[str, IResolvable],
  deletion_force: typing.Union[bool, IResolvable] = None,
  remark: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The name of the instance, which contains 3 to 64 characters in Chinese or English.
deletion_force typing.Union[bool, ros_cdk_core.IResolvable] Property deletionForce: Whether delete all topics and groups of the instance and then delete instance.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: The remark of instance.
tags typing.List[TagsProperty] Property tags: Tags to attach to instance.

instance_nameRequired

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

Property instanceName: The name of the instance, which contains 3 to 64 characters in Chinese or English.


deletion_forceOptional

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

Property deletionForce: Whether delete all topics and groups of the instance and then delete instance.

Default is false


remarkOptional

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

Property remark: The remark of instance.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.