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

Resource Orchestration Service:DATASOURCE::ECS::DedicatedHostCluster

最終更新日:Mar 17, 2025

DATASOURCE::ECS::DedicatedHostCluster は、専用ホストクラスターに関する情報をクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::ECS::DedicatedHostCluster",
  "Properties": {
    "DedicatedHostClusterId": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

DedicatedHostClusterId

String

はい

はい

専用ホストクラスターの ID。

なし。

RefreshOptions

String

いいえ

はい

スタックの更新時のデータソースリソースのリフレッシュポリシー。

有効な値:

  • Never (デフォルト): スタックの更新時にデータソースリソースをリフレッシュしません。

  • Always: スタックの更新時にデータソースリソースをリフレッシュします。

戻り値

Fn::GetAtt

  • Description: 専用ホストクラスターの説明。

  • ZoneId: 専用ホストクラスターのゾーン ID。

  • DedicatedHostClusterName: 専用ホストクラスターの名前。

  • ResourceGroupId: 専用ホストクラスターのリソースグループ ID。

  • Tags: 専用ホストクラスターのタグ。

  • DedicatedHostClusterId: 専用ホストクラスターの ID。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DedicatedHostClusterId:
    Type: String
    Description:
      en: Dedicated host cluster id.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::ECS::DedicatedHostCluster
    Properties:
      DedicatedHostClusterId:
        Ref: DedicatedHostClusterId
Outputs:
  Description:
    Description: The description of the dedicated host cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  ZoneId:
    Description: 'The zone ID of the dedicated host cluster. '
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ZoneId
  DedicatedHostClusterName:
    Description: The name of the dedicated host cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DedicatedHostClusterName
  ResourceGroupId:
    Description: 'The ID of the resource group to which the dedicated host cluster belongs. '
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ResourceGroupId
  Tags:
    Description: The tags of the dedicated host cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Tags
  DedicatedHostClusterId:
    Description: Dedicated host cluster id.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - DedicatedHostClusterId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DedicatedHostClusterId": {
      "Type": "String",
      "Description": {
        "en": "Dedicated host cluster id."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::ECS::DedicatedHostCluster",
      "Properties": {
        "DedicatedHostClusterId": {
          "Ref": "DedicatedHostClusterId"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the dedicated host cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "ZoneId": {
      "Description": "The zone ID of the dedicated host cluster. ",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ZoneId"
        ]
      }
    },
    "DedicatedHostClusterName": {
      "Description": "The name of the dedicated host cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostClusterName"
        ]
      }
    },
    "ResourceGroupId": {
      "Description": "The ID of the resource group to which the dedicated host cluster belongs. ",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ResourceGroupId"
        ]
      }
    },
    "Tags": {
      "Description": "The tags of the dedicated host cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Tags"
        ]
      }
    },
    "DedicatedHostClusterId": {
      "Description": "Dedicated host cluster id.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "DedicatedHostClusterId"
        ]
      }
    }
  }
}