All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::ECS::HpcCluster

最終更新日:May 17, 2023

ALIYUN::ECS::HpcCluster is used to create a High Performance Computing (HPC) cluster.

Syntax

{
  "Type": "ALIYUN::ECS::HpcCluster",
  "Properties": {
    "Name": String,
    "Description": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Name

String

Yes

Yes

The name of the cluster.

  • The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-).

  • The name must start with a letter and cannot start with http:// or https://.

Description

String

No

Yes

The description of the cluster.

The description must be 2 to 256 characters in length. The description cannot start with http:// or https://.

Return values

Fn::GetAtt

  • HpcClusterId: the ID of the cluster.

  • Name: the name of the cluster.

Examples

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Resources:
  HpcCluster:
    Type: 'ALIYUN::ECS::HpcCluster'
    Properties:
      Name:
        Ref: Name
      Description:
        Ref: Description
Parameters:
  Name:
    Type: String
    Description: >-
      The name of the HPC cluster. The name must be 2 to 128 characters in
      length. It must

      start with a letter but cannot start with http:// or https://. It can
      contain letters,

      digits, colons (:), underscores (_), and hyphens (-).
  Description:
    Type: String
    Description: >-
      The description of the HPC cluster. The description must be 2 to 256
      characters in

      length. It cannot start with http:// or https://. Default value: empty
      string.
Outputs:
  HpcClusterId:
    Description: The ID of the HPC cluster.
    Value:
      'Fn::GetAtt':
        - HpcCluster
        - HpcClusterId
  Name:
    Description: The name of the HPC cluster.
    Value:
      'Fn::GetAtt':
        - HpcCluster
        - Name

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "HpcCluster": {
      "Type": "ALIYUN::ECS::HpcCluster",
      "Properties": {
        "Name": {
          "Ref": "Name"
        },
        "Description": {
          "Ref": "Description"
        }
      }
    }
  },
  "Parameters": {
    "Name": {
      "Type": "String",
      "Description": "The name of the HPC cluster. The name must be 2 to 128 characters in length. It must\nstart with a letter but cannot start with http:// or https://. It can contain letters,\ndigits, colons (:), underscores (_), and hyphens (-)."
    },
    "Description": {
      "Type": "String",
      "Description": "The description of the HPC cluster. The description must be 2 to 256 characters in\nlength. It cannot start with http:// or https://. Default value: empty string."
    }
  },
  "Outputs": {
    "HpcClusterId": {
      "Description": "The ID of the HPC cluster.",
      "Value": {
        "Fn::GetAtt": [
          "HpcCluster",
          "HpcClusterId"
        ]
      }
    },
    "Name": {
      "Description": "The name of the HPC cluster.",
      "Value": {
        "Fn::GetAtt": [
          "HpcCluster",
          "Name"
        ]
      }
    }
  }
}