DATASOURCE::ROCKETMQ::Instances is used to query Message Queue for Apache RocketMQ instances.
Properties
None.
Return values
Fn::GetAtt
- Instances: details of the instances.
- InstanceIds: the IDs of the instances.
Property | Type | Description | Constraint |
---|---|---|---|
InstanceIds | List | The IDs of the instances. | None. |
Instances | List | Details of the instances. | None. |
Status | Number | The state of the instance. | Valid values:
|
Tags | Map | The tags that are added to the instance. | Sample value:
|
InstanceId | string | The ID of the instance. | None. |
InstanceType | Number | The edition of the instance. | Valid values:
|
IndependentNaming | boolean | Indicates whether a separate namespace is configured for the instance. | Valid values:
|
InstanceName | string | The name of the instance. | The name must be 3 to 64 characters in length, and can contain letters, digits, hyphens (-), and underscores (_). |
CreateTime | string | The time when the instance was created. | This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
ReleaseTime | string | The time when the Platinum Edition instance expires. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::ROCKETMQ::Instances", "Properties": {} } }, "Outputs": { "Instances": { "Description": "The list of instances.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "Instances" ] } }, "InstanceIds": { "Description": "The list of instance IDs.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "InstanceIds" ] } } } }