ConsumerGroupProps
Properties for defining a ConsumerGroup.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rocketmq5-consumergroup
Initializer
from ros_cdk_rocketmq5 import datasource
datasource.ConsumerGroupProps(
consumer_group_id: typing.Union[str, IResolvable],
instance_id: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
consumer_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property consumerGroupId: The ID of the consumer group. |
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: The ID of the instance to which the consumer group belongs. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
consumer_group_idRequired
consumer_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property consumerGroupId: The ID of the consumer group.
instance_idRequired
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The ID of the instance to which the consumer group belongs.
refresh_optionsOptional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.