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

Resource Orchestration Service:DATASOURCE::CloudStorageGateway::StorageBundle

最終更新日:Mar 17, 2025

DATASOURCE::CloudStorageGateway::StorageBundle は、ゲートウェイ クラスターに関する情報をクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::CloudStorageGateway::StorageBundle",
  "Properties": {
    "StorageBundleId": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

必須

編集可能

説明

制約

StorageBundleId

String

はい

はい

ゲートウェイ クラスターの ID。

なし。

RefreshOptions

String

いいえ

はい

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

有効な値:

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

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

戻り値

Fn::GetAtt

  • Description: ゲートウェイ クラスターの説明。

  • CreateTime: ゲートウェイ クラスターが作成されたタイムスタンプ。単位: 秒。

  • StorageBundleId: ゲートウェイ クラスターの ID。

  • StorageBundleName: ゲートウェイ クラスターの名前。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  StorageBundleId:
    Type: String
    Description:
      en: The ID of the gateway cluster.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CloudStorageGateway::StorageBundle
    Properties:
      StorageBundleId:
        Ref: StorageBundleId
Outputs:
  Description:
    Description: The description of the gateway cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  CreateTime:
    Description: 'The timestamp when the gateway cluster was created. Unit: seconds.'
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  StorageBundleId:
    Description: The ID of the gateway cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageBundleId
  StorageBundleName:
    Description: The name of the gateway cluster.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - StorageBundleName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "StorageBundleId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the gateway cluster."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CloudStorageGateway::StorageBundle",
      "Properties": {
        "StorageBundleId": {
          "Ref": "StorageBundleId"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the gateway cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "CreateTime": {
      "Description": "The timestamp when the gateway cluster was created. Unit: seconds.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "StorageBundleId": {
      "Description": "The ID of the gateway cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageBundleId"
        ]
      }
    },
    "StorageBundleName": {
      "Description": "The name of the gateway cluster.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "StorageBundleName"
        ]
      }
    }
  }
}