ALIYUN::EDAS::DeployGroup is used to create a group.

Syntax

{
  "Type": "ALIYUN::EDAS::DeployGroup",
  "Properties": {
    "GroupName": String,
    "AppId": String
  }
}

Properties

Parameter Data type Required Editable Description Constraint
GroupName String Yes No Whitelist Name It must be 1 to 64 characters in length.
AppId String Yes No The ID of the application. N/A

Error code

Fn::GetAtt

  • GroupName: The name of the group.
  • Id: The ID of the group.
  • AppId: The ID of the application.

Examples

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "DeployGroup": {
      "Type": "ALIYUN::EDAS::DeployGroup",
      "Properties": {
        "GroupName": {
          "Ref": "GroupName"
        },
        "AppId": {
          "Ref": "AppId"
        }
      }
    }
  },
  "Parameters": {
    "GroupName": {
      "MinLength": 1,
      "Type": "String",
      "Description": "Group name, maximum length of 64.",
      "MaxLength": 64
    },
    "AppId": {
      "Type": "String",
      "Description": "Application ID"
    }
  },
  "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"
        ]
      }
    }
  }
}

YAML format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "DeployGroup": {
      "Type": "ALIYUN::EDAS::DeployGroup",
      "Properties": {
        "GroupName": {
          "Ref": "GroupName"
        },
        "AppId": {
          "Ref": "AppId"
        }
      }
    }
  },
  "Parameters": {
    "GroupName": {
      "MinLength": 1,
      "Type": "String",
      "Description": "Group name, maximum length of 64.",
      "MaxLength": 64
    },
    "AppId": {
      "Type": "String",
      "Description": "Application ID"
    }
  },
  "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"
        ]
      }
    }
  }
}