ALIYUN::Aligreen::BizType类型用于创建业务场景。
语法
{
"Type": "ALIYUN::Aligreen::BizType",
"Properties": {
"BizTypeName": String,
"CiteTemplate": Boolean,
"BizTypeImport": String,
"Description": String,
"IndustryInfo": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
BizTypeName | String | 是 | 否 | 创建业务场景的名称。 | 只支持字母、下划线和数字,不支持中文。 |
CiteTemplate | Boolean | 是 | 否 | 是否引入行业模板配置。 | 取值:
说明 当取值为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"
]
}
}
}
}