DATASOURCE::ECS::HpcCluster は、高性能コンピューティング(HPC)クラスターをクエリするために使用されます。
構文
{
"Type": "DATASOURCE::ECS::HpcCluster",
"Properties": {
"HpcClusterId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
HpcClusterId | String | はい | はい | HPC クラスターの ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソース リソースのリフレッシュ ポリシー。 | 有効な値:
|
戻り値
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"
]
}
}
}
}