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

Resource Orchestration Service:データソース::VPC::ルートテーブル

最終更新日:Mar 17, 2025

DATASOURCE::VPC::RouteTable は、ルートテーブルに関する情報をクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::VPC::RouteTable",
  "Properties": {
    "RouteTableId": String, 
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

RouteTableId

String

はい

はい

ルートテーブルの ID です。

なし。

RefreshOptions

String

いいえ

はい

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

有効な値:

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

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

戻り値

Fn::GetAtt

  • RouteTableId: ルートテーブルの ID です。

  • Description: ルートテーブルの説明です。

  • VpcId: 仮想プライベートクラウド (VPC) の ID です。

  • ResourceGroupId: リソースグループの ID です。

  • VSwitchIds: vSwitch です。

  • RouterType: ルートテーブルが属するルーターのタイプです。

  • CreateTime: ルートテーブルが作成された時刻です。

  • RouterId: ルートテーブルが属するルーターの ID です。

  • Tags: ルートテーブルに追加されたタグです。

  • RouteTableName: ルートテーブルの名前です。

  • RouteTableType: ルートテーブルのタイプです。

YAML

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RouteTableId:
    Type: String
    Description:
      en: The ID of the routing table.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::VPC::RouteTable
    Properties:
      RouteTableId:
        Ref: RouteTableId
Outputs:
  RouteTableId:
    Description: ルーティングテーブルの ID。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RouteTableId
  Description:
    Description: ルーティングテーブルの説明。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  VpcId:
    Description: VPC の ID。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VpcId
  ResourceGroupId:
    Description: リソースグループ ID。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ResourceGroupId
  VSwitchIds:
    Description: スイッチの ID。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - VSwitchIds
  RouterType:
    Description: ルーティングテーブルが属するルータータイプ。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RouterType
  CreateTime:
    Description: ルーティングテーブルの作成時間。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  RouterId:
    Description: ルーティングテーブルが属するルーター ID。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RouterId
  Tags:
    Description: タグ。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Tags
  RouteTableName:
    Description: ルーティングテーブルの名前。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RouteTableName
  RouteTableType:
    Description: ルーティングテーブルのタイプ。
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - RouteTableType

JSON

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RouteTableId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the routing table."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::VPC::RouteTable",
      "Properties": {
        "RouteTableId": {
          "Ref": "RouteTableId"
        }
      }
    }
  },
  "Outputs": {
    "RouteTableId": {
      "Description": "ルーティングテーブルの ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RouteTableId"
        ]
      }
    },
    "Description": {
      "Description": "ルーティングテーブルの説明。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "VpcId": {
      "Description": "VPC の ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VpcId"
        ]
      }
    },
    "ResourceGroupId": {
      "Description": "リソースグループ ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ResourceGroupId"
        ]
      }
    },
    "VSwitchIds": {
      "Description": "スイッチの ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "VSwitchIds"
        ]
      }
    },
    "RouterType": {
      "Description": "ルーティングテーブルが属するルータータイプ。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RouterType"
        ]
      }
    },
    "CreateTime": {
      "Description": "ルーティングテーブルの作成時間。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "RouterId": {
      "Description": "ルーティングテーブルが属するルーター ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RouterId"
        ]
      }
    },
    "Tags": {
      "Description": "タグ。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Tags"
        ]
      }
    },
    "RouteTableName": {
      "Description": "ルーティングテーブルの名前。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RouteTableName"
        ]
      }
    },
    "RouteTableType": {
      "Description": "ルーティングテーブルのタイプ。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "RouteTableType"
        ]
      }
    }
  }
}