ALIYUN::Aligreen::BizType is used to create a business scenario.
Syntax
{
"Type": "ALIYUN::Aligreen::BizType",
"Properties": {
"BizTypeName": String,
"CiteTemplate": Boolean,
"BizTypeImport": String,
"Description": String,
"IndustryInfo": String
}
}Properties
Property | Type | Required | Editable | Description | Constraint |
BizTypeName | String | Yes | No | The name of the business scenario to be created. | The name can contain only letters, underscores (_), and digits. |
CiteTemplate | Boolean | Yes | No | Specifies whether to import the configuration of an industry template. | Valid values:
Note IndustryInfo must be specified when CiteTemplate is set to true. |
BizTypeImport | String | No | No | The name of an existing business scenario to be imported. | None. |
Description | String | No | Yes | The description. | None. |
IndustryInfo | String | No | No | The industry classification. | The following classifications are supported:
|
Return values
Fn::GetAtt
BizTypeName: the name of the created business scenario.
Description: the description.
CiteTemplate: indicates whether the configuration of an industry template is imported.
IndustryInfo: the industry classification.
Examples
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"
]
}
}
}
}