構文
{
"Type": "DATASOURCE::ApiGateway::Apps",
"Properties": {
"AppOwner": String,
"AppId": String,
"RefreshOptions": String
}
}
プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
AppOwner | String | いいえ | はい | アプリケーション所有者の Alibaba Cloud アカウント ID。 | なし。 |
AppId | String | いいえ | はい | アプリケーションの一意の ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソースリソースの更新ポリシー。 | 有効な値: |
戻り値 (Fn::GetAtt)
AppIds: アプリケーションの ID。
Apps: アプリケーションの詳細。
プロパティ | タイプ | 説明 | 制約 |
AppIds | List | アプリケーションの ID。 | なし。 |
Apps | List | アプリケーションの詳細。 | なし。 |
AppName | String | アプリケーション名。 | なし。 |
AppId | String | アプリケーション ID。 | なし。 |
Description | String | アプリケーションの説明。 | なし。 |
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"AppId": {
"Type": "String",
"Description": "アプリケーションの一意の ID。" // Unique ID of the app.
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ApiGateway::Apps",
"Properties": {
"AppId": {
"Ref": "AppId"
}
}
}
},
"Outputs": {
"Apps": {
"Description": "ApiGateway アプリケーションに関する情報。", // The information about ApiGateway apps.
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Apps"
]
}
},
"AppIds": {
"Description": "ApiGateway アプリケーション ID のリスト。", // The list of The ApiGateway app ids.
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AppIds"
]
}
}
}
}
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
AppId:
Type: String
Description: アプリケーションの一意の ID。 # Unique ID of the app.
Resources:
ExtensionDataSource:
Type: DATASOURCE::ApiGateway::Apps
Properties:
AppId:
Ref: AppId
Outputs:
Apps:
Description: ApiGateway アプリケーションに関する情報。 # The information about ApiGateway apps.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Apps
AppIds:
Description: ApiGateway アプリケーション ID のリスト。 # The list of The ApiGateway app ids.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AppIds