ALIYUN::ICE::SearchLib は、検索ライブラリを作成するために使用されます。
構文
{
"Type": "ALIYUN::ICE::SearchLib",
"Properties": {
"SearchLibName": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
SearchLibName | String | はい | いいえ | 検索ライブラリの名前。 | なし。 |
戻り値
Fn::GetAtt
SearchLibName: 検索ライブラリの名前。
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
SearchLibName:
Type: String
Description:
en: The name of the Search Lib.
Required: true
Default: test1
Resources:
ExtensionResource:
Type: ALIYUN::ICE::SearchLib
Properties:
SearchLibName:
Ref: SearchLibName
Outputs:
SearchLibName:
Description: The name of the Search Lib.
Value:
Fn::GetAtt:
- ExtensionResource
- SearchLibName
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"SearchLibName": {
"Type": "String",
"Description": {
"en": "The name of the Search Lib."
},
"Required": true,
"Default": "test1"
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::ICE::SearchLib",
"Properties": {
"SearchLibName": {
"Ref": "SearchLibName"
}
}
}
},
"Outputs": {
"SearchLibName": {
"Description": "The name of the Search Lib.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"SearchLibName"
]
}
}
}
}