ALIYUN::ICE::SearchLib

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"
        ]
      }
    }
  }
}