構文
{
"Type": "ALIYUN::EDAS::DeployGroup",
"Properties": {
"GroupName": String,
"AppId": String
}
}
プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
GroupName | String | はい | いいえ | インスタンスグループの名前。 | 名前は 1 ~ 64 文字である必要があります。 |
AppId | String | はい | いいえ | アプリケーションの ID。 | なし。 |
例
YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Description: Test an EDAS cluster, application, and application instance group
Parameters:
AppId:
Type: String
Description: Application ID
Default: '****'
GroupName:
Type: String
Description: Group name, maximum length of 64.
Default: mytest
Resources:
DeployGroup:
Type: ALIYUN::EDAS::DeployGroup
Properties:
GroupName:
Ref: GroupName
AppId:
Ref: AppId
Outputs:
GroupName:
Description: Deploy group name
Value:
Fn::GetAtt:
- DeployGroup
- GroupName
Id:
Description: Deploy group ID
Value:
Fn::GetAtt:
- DeployGroup
- Id
AppId:
Description: Application ID
Value:
Fn::GetAtt:
- DeployGroup
- AppId
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Description": "Test an EDAS cluster, application, and application instance group",
"Parameters": {
"AppId": {
"Type": "String",
"Description": "Application ID",
"Default": "****"
},
"GroupName": {
"Type": "String",
"Description": "Group name, maximum length of 64.",
"Default": "mytest"
}
},
"Resources": {
"DeployGroup": {
"Type": "ALIYUN::EDAS::DeployGroup",
"Properties": {
"GroupName": {
"Ref": "GroupName"
},
"AppId": {
"Ref": "AppId"
}
}
}
},
"Outputs": {
"GroupName": {
"Description": "Deploy group name",
"Value": {
"Fn::GetAtt": [
"DeployGroup",
"GroupName"
]
}
},
"Id": {
"Description": "Deploy group ID",
"Value": {
"Fn::GetAtt": [
"DeployGroup",
"Id"
]
}
},
"AppId": {
"Description": "Application ID",
"Value": {
"Fn::GetAtt": [
"DeployGroup",
"AppId"
]
}
}
}
}