Skip to content

ConsumerGroupProps

Properties for defining a ConsumerGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rocketmq5-consumergroup

Initializer

import { datasource } from '@alicloud/ros-cdk-rocketmq5'
const consumerGroupProps: datasource.ConsumerGroupProps = { ... }

Properties

Name Type Description
consumerGroupId string | @alicloud/ros-cdk-core.IResolvable Property consumerGroupId: The ID of the consumer group.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of the instance to which the consumer group belongs.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

consumerGroupIdRequired

public readonly consumerGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property consumerGroupId: The ID of the consumer group.


instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The ID of the instance to which the consumer group belongs.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/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.