ALIYUN::Aligreen::BizType

ALIYUN::Aligreen::BizType类型用于创建业务场景。

语法

{
  "Type": "ALIYUN::Aligreen::BizType",
  "Properties": {
    "BizTypeName": String,
    "CiteTemplate": Boolean,
    "BizTypeImport": String,
    "Description": String,
    "IndustryInfo": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

BizTypeName

String

创建业务场景的名称。

只支持字母、下划线和数字,不支持中文。

CiteTemplate

Boolean

是否引入行业模板配置。

取值:

  • true:表示引入行业模板配置。

  • false(默认):表示不引入行业模板配置。

说明

当取值为true时,必须传入industryInfo

BizTypeImport

String

导入已经创建的业务场景。

Description

String

描述信息。

IndustryInfo

String

行业分类。

取值:

  • 社交-注册信息-头像

  • 社交-注册信息-昵称

  • 社交-注册信息-签名

  • 社交-即时通讯-单聊

  • 社交-即时通讯-群聊

  • 社交-即时通讯-聊天室

  • 社交-论坛社区-主贴

  • 社交-论坛社区-回贴

  • 社交-论坛社区-标签

  • 社交-论坛社区-推荐

  • 多媒体-注册信息-头像

  • 多媒体-注册信息-昵称

  • 多媒体-注册信息-签名

  • 多媒体-即时通讯-单聊

  • 多媒体-直播-直播标题

  • 多媒体-直播-直播封面

  • 多媒体-直播-直播内容

  • 多媒体-直播-直播评论

  • 多媒体-网盘-网盘内容

  • 多媒体-网盘-分享内容

  • 游戏-注册信息-昵称

  • 游戏-注册信息-头像

  • 游戏-注册信息-签名

  • 游戏-即时通讯-单聊

  • 游戏-即时通讯-群聊

  • 游戏-即时通讯-聊天室

  • 游戏-论坛社区-主贴

  • 游戏-论坛社区-回贴

  • 游戏-论坛社区-标签

  • 游戏-论坛社区-推荐

  • 新零售-商品-商品标题

  • 新零售-商品-商品描述

  • 阅读-书籍-书名

  • 阅读-书籍-标题

  • 阅读-书籍-书籍封面

  • 阅读-书籍-内容

  • 传媒-新闻内容-新闻内容

  • 教育-注册信息-昵称

  • 教育-注册信息-头像

  • 教育-注册信息-签名

  • 教育-即时通讯-单聊

  • 教育-论坛社区-主贴

  • 教育-论坛社区-回贴

  • 教育-论坛社区-标签

  • 教育-论坛社区-推荐

  • 教育-客服-语音电话

  • 其他

返回值

Fn::GetAtt

  • BizTypeName:创建业务场景的名称。

  • Description:描述信息。

  • CiteTemplate:是否引入行业模板配置。

  • IndustryInfo:行业分类。

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  BizTypeName:
    Type: String
    Description:
      en: The name of the business scenario defined by the customer. It can contain no more than 32 characters in English, numbers, and underscores.
    Required: true
  CiteTemplate:
    Type: Boolean
    Description:
      en: |-
        Specifies whether to import the configuration of an industry template. Default value: false. Valid values:
        true: imports the configuration of an industry template.
        false: does not import the configuration of an industry template. If the value is true, you must specify the industryInfo parameter.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::Aligreen::BizType
    Properties:
      BizTypeName:
        Ref: BizTypeName
      CiteTemplate:
        Ref: CiteTemplate
Outputs:
  BizTypeName:
    Description: The name of the business scenario defined by the customer.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - BizTypeName
  Description:
    Description: The description of the business scenario defined by the customer.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  CiteTemplate:
    Description: 'Specifies whether to import the configuration of an industry template. Default value: false.'
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CiteTemplate
  IndustryInfo:
    Description: The industry classification.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - IndustryInfo
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "BizTypeName": {
      "Type": "String",
      "Description": {
        "en": "The name of the business scenario defined by the customer. It can contain no more than 32 characters in English, numbers, and underscores."
      },
      "Required": true
    },
    "CiteTemplate": {
      "Type": "Boolean",
      "Description": {
        "en": "Specifies whether to import the configuration of an industry template. Default value: false. Valid values:\ntrue: imports the configuration of an industry template.\nfalse: does not import the configuration of an industry template. If the value is true, you must specify the industryInfo parameter."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::Aligreen::BizType",
      "Properties": {
        "BizTypeName": {
          "Ref": "BizTypeName"
        },
        "CiteTemplate": {
          "Ref": "CiteTemplate"
        }
      }
    }
  },
  "Outputs": {
    "BizTypeName": {
      "Description": "The name of the business scenario defined by the customer.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "BizTypeName"
        ]
      }
    },
    "Description": {
      "Description": "The description of the business scenario defined by the customer.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "CiteTemplate": {
      "Description": "Specifies whether to import the configuration of an industry template. Default value: false.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CiteTemplate"
        ]
      }
    },
    "IndustryInfo": {
      "Description": "The industry classification.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "IndustryInfo"
        ]
      }
    }
  }
}