すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:DATASOURCE::ECS::HpcCluster

最終更新日:Mar 17, 2025

DATASOURCE::ECS::HpcCluster は、高性能コンピューティング(HPC)クラスターをクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::ECS::HpcCluster",
  "Properties": {
    "HpcClusterId": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

HpcClusterId

String

はい

はい

HPC クラスターの ID。

なし。

RefreshOptions

String

いいえ

はい

スタックが更新されたときのデータソース リソースのリフレッシュ ポリシー。

有効な値:

  • Never(デフォルト):スタックが更新されたときにデータソース リソースをリフレッシュしません。

  • Always:スタックが更新されたときにデータソース リソースをリフレッシュします。

戻り値

Fn::GetAtt

  • Description:HPC クラスターの説明。

  • HpcClusterId:HPC クラスターの ID。

  • HpcClusterName:HPC クラスターの名前。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  HpcClusterId:
    Type: String
    Description:
      en: The ID of cluster.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::ECS::HpcCluster
    Properties:
      HpcClusterId:
        Ref: HpcClusterId
Outputs:
  Description:
    Description: The description of the HPC cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  HpcClusterId:
    Description: The ID of cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - HpcClusterId
  HpcClusterName:
    Description: The name of the HPC cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - HpcClusterName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "HpcClusterId": {
      "Type": "String",
      "Description": {
        "en": "The ID of cluster."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::ECS::HpcCluster",
      "Properties": {
        "HpcClusterId": {
          "Ref": "HpcClusterId"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the HPC cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "HpcClusterId": {
      "Description": "The ID of cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "HpcClusterId"
        ]
      }
    },
    "HpcClusterName": {
      "Description": "The name of the HPC cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "HpcClusterName"
        ]
      }
    }
  }
}