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

Resource Orchestration Service:DATASOURCE::CMS::Namespace

最終更新日:Mar 17, 2025

DATASOURCE::CMS::Namespace は、名前空間に関する情報と名前空間のメトリックデータをクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::CMS::Namespace",
  "Properties": {
    "Namespace": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Namespace

String

はい

はい

名前空間の名前。

なし。

RefreshOptions

String

いいえ

はい

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

有効な値:

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

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

戻り値

Fn::GetAtt

  • ModifyTime: 名前空間が最後に変更されたタイムスタンプ。

  • Description: 名前空間の説明。

  • CreateTime: 名前空間が作成されたタイムスタンプ。

  • Specification: データストレージ期間。

  • Namespace: 名前空間の名前。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Namespace:
    Type: String
    Description:
      en: Indicator warehouse name.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CMS::Namespace
    Properties:
      Namespace:
        Ref: Namespace
Outputs:
  ModifyTime:
    Description: The timestamp of the last modification indicator warehouse.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ModifyTime
  Description:
    Description: Description of indicator warehouse.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  CreateTime:
    Description: Create the timestamp of the indicator warehouse.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  Specification:
    Description: Data storage duration.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Specification
  Namespace:
    Description: Indicator warehouse name.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Namespace
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Namespace": {
      "Type": "String",
      "Description": {
        "en": "Indicator warehouse name."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CMS::Namespace",
      "Properties": {
        "Namespace": {
          "Ref": "Namespace"
        }
      }
    }
  },
  "Outputs": {
    "ModifyTime": {
      "Description": "指標ウェアハウスの最終変更のタイムスタンプ。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ModifyTime"
        ]
      }
    },
    "Description": {
      "Description": "指標ウェアハウスの説明。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "CreateTime": {
      "Description": "指標ウェアハウスの作成タイムスタンプ。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "Specification": {
      "Description": "データストレージ期間。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Specification"
        ]
      }
    },
    "Namespace": {
      "Description": "指標ウェアハウス名。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Namespace"
        ]
      }
    }
  }
}