All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::OTS::Instance

更新時間:Aug 20, 2026

The ALIYUN::OTS::Instance type is used to create Tablestore instances.

Syntax

{
  "Type": "ALIYUN::OTS::Instance",
  "Properties": {
    "Network": String,
    "ClusterType": String,
    "InstanceName": String,
    "Description": String,
    "Tags": List
  }
}            

Properties

Property name

Type

Required

Updatable

Description

Constraints

ClusterType

String

No

No

The instance type.

Valid values:

  • SSD (default)

  • HYBRID

InstanceName

String

Yes

No

The instance name.

The name must be 3 to 16 characters in length. It must start with a letter and cannot end with a hyphen (-). The name can contain letters, digits, and hyphens (-).

Network

String

No

Yes

The network type of the instance.

Valid values:

  • NORMAL (default)

  • VPC

  • VPC_CONSOLE

Description

String

No

Yes

Description

The maximum length is 256 characters.

Tags

List

No

Yes

The instance tags.

You can add up to 5 tags.

For more information, see Properties.

Tags syntax

"Tags":[
  {
    "Value":String,
    "Key":String
  }
]           

Tags properties

Property name

Type

Required

Allow updates

Description

Constraints

Key

String

Yes

No

The tag key.

The key must be 1 to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

Value

String

No

No

The tag value.

The value can be 0 to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

Return values

Fn::GetAtt

  • PrivateEndpoint: The private endpoint.

  • PublicEndpoint: The public endpoint.

  • VpcEndpoint: The VPC endpoint.

  • InstanceName: The instance name.

Examples

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      Instance:
        Type: ALIYUN::OTS::Instance
        Properties:
          Network: NORMAL
          ClusterType: SSD
          InstanceName: TestOTS
          Description: Test Ots Instance
    Outputs:
      InstanceName:
        Description: Instance name
        Value:
          Fn::GetAtt:
            - Instance
            - InstanceName
      VpcEndpoint:
        Description: Vpc endpoint
        Value:
          Fn::GetAtt:
            - Instance
            - VpcEndpoint
      PublicEndpoint:
        Description: Public endpoint
        Value:
          Fn::GetAtt:
            - Instance
            - PublicEndpoint
      PrivateEndpoint:
        Description: Private endpoint
        Value:
          Fn::GetAtt:
            - Instance
            - PrivateEndpoint
  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "Instance": {
          "Type": "ALIYUN::OTS::Instance",
          "Properties": {
            "Network": "NORMAL",
            "ClusterType": "SSD",
            "InstanceName": "TestOTS",
            "Description": "Test Ots Instance"
          }
        }
      },
      "Outputs": {
        "InstanceName": {
          "Description": "Instance name",
          "Value": {
            "Fn::GetAtt": [
              "Instance",
              "InstanceName"
            ]
          }
        },
        "VpcEndpoint": {
          "Description": "Vpc endpoint",
          "Value": {
            "Fn::GetAtt": [
              "Instance",
              "VpcEndpoint"
            ]
          }
        },
        "PublicEndpoint": {
          "Description": "Public endpoint",
          "Value": {
            "Fn::GetAtt": [
              "Instance",
              "PublicEndpoint"
            ]
          }
        },
        "PrivateEndpoint": {
          "Description": "Private endpoint",
          "Value": {
            "Fn::GetAtt": [
              "Instance",
              "PrivateEndpoint"
            ]
          }
        }
      }
    }