All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::MSE::Znode

更新時間:Apr 02, 2026

The ALIYUN::MSE::Znode resource type creates a ZooKeeper data node.

Syntax

{
  "Type": "ALIYUN::MSE::Znode",
  "Properties": {
    "ClusterId": String,
    "Path": String,
    "Data": String,
    "InstanceId": String,
    "Type": String
  }
}

Properties

Property Name

Type

Required

Update allowed

Description

Constraints

ClusterId

String

Yes

No

The cluster ID.

None

Path

String

Yes

No

The path of the node.

None

Data

String

No

No

The data of the node.

None

InstanceId

String

No

No

The instance ID.

None

Type

String

No

No

The type of the node.

None

Return value

Fn::GetAtt

None

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Path:
    Type: String
    Description:
      en: The path of the znode.
    Required: true
  ClusterId:
    Type: String
    Description:
      en: The ID of the cluster.
    Required: true
Resources:
  Znode:
    Type: ALIYUN::MSE::Znode
    Properties:
      Path:
        Ref: Path
      ClusterId:
        Ref: ClusterId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Path": {
      "Type": "String",
      "Description": {
        "en": "The path of the znode."
      },
      "Required": true
    },
    "ClusterId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the cluster."
      },
      "Required": true
    }
  },
  "Resources": {
    "Znode": {
      "Type": "ALIYUN::MSE::Znode",
      "Properties": {
        "Path": {
          "Ref": "Path"
        },
        "ClusterId": {
          "Ref": "ClusterId"
        }
      }
    }
  }
}