DATASOURCE::PAI::WorkspaceResourceFlink は、ワークスペースに関連付けられている Realtime Compute for Apache Flink リソースに関する情報をクエリするために使用されます。
構文
{
"Type": "DATASOURCE::PAI::WorkspaceResourceFlink",
"Properties": {
"GroupName": String,
"WorkspaceId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
GroupName | String | はい | はい | リソース名。 | なし。 |
WorkspaceId | String | はい | はい | ワークスペース ID。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックの更新時のデータソースリソースのリフレッシュポリシー。 | 有効な値:
|
戻り値
Fn::GetAtt
IsDefault: リソースがデフォルトのリソースであるかどうかを示します。
GroupName: リソースグループの名前。
CreateTime: リソースが作成された時刻。時刻は ISO 8601 標準に準拠します。時刻は UTC で表示されます。
Resources: リソースの詳細。
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GroupName:
Type: String
Description:
en: Resource group name. If you want to obtain a resource group name, see [ListResources].
Required: true
WorkspaceId:
Type: String
Description:
en: The ID of the workspace to which the workspace belongs.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::PAI::WorkspaceResourceFlink
Properties:
GroupName:
Ref: GroupName
WorkspaceId:
Ref: WorkspaceId
Outputs:
IsDefault:
Description: Indicates whether it is the default resource. Currently, this parameter only supports the input of true and does not support false.
Value:
Fn::GetAtt:
- ExtensionDataSource
- IsDefault
GroupName:
Description: Resource group name. If you want to obtain a resource group name, see [ListResources].
Value:
Fn::GetAtt:
- ExtensionDataSource
- GroupName
CreateTime:
Description: The creation time of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
Resources:
Description: Resource List.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Resources
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GroupName": {
"Type": "String",
"Description": {
"en": "Resource group name. If you want to obtain a resource group name, see [ListResources]."
},
"Required": true
},
"WorkspaceId": {
"Type": "String",
"Description": {
"en": "The ID of the workspace to which the workspace belongs."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::PAI::WorkspaceResourceFlink",
"Properties": {
"GroupName": {
"Ref": "GroupName"
},
"WorkspaceId": {
"Ref": "WorkspaceId"
}
}
}
},
"Outputs": {
"IsDefault": {
"Description": "デフォルトのリソースであるかどうかを示します。現在、このパラメーターは true の入力のみをサポートし、false はサポートしていません。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"IsDefault"
]
}
},
"GroupName": {
"Description": "リソースグループ名。リソースグループ名を取得する方法については、「[ListResources]」をご参照ください。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"GroupName"
]
}
},
"CreateTime": {
"Description": "リソースの作成時刻。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"Resources": {
"Description": "リソースリスト。",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Resources"
]
}
}
}
}