All Products
Document Center


Last Updated: Sep 02, 2019

You can configure the output parameters for a template. The output parameters can define the results you need after the O&M operations are completed. For example, you can set the output parameters to obtain the ID of an Elastic Compute Service (ECS) instance after the O&M operation for creating the ECS instance is completed.


  • YAML format
  1. Outputs:
  2. OutputParameterName1:# Required.The name of the output parameter. The name can contain lowercase letters, uppercase letters, digits, underscores (_), and hyphens (-). It can be up to 200 characters in length.
  3. Type: String # Optional. The type of the output parameter. The valid values include the basic parameter types supported by the YAML or JSON format, such as String, Number, Boolean, List or Array, and Object. Default value: String.
  4. Value: "{taskName. OutputParameter1}" # Required. The value of the output parameter. The value is usually the output of a task.
  • JSON format (For more information, see the parameter description for the YAML format.)
  1. {
  2. "Outputs": {
  3. "OutputParameterName1": {
  4. "Type": "String",
  5. "Value": "{{ taskName.OutputParameter1 }}"
  6. }
  7. }
  8. }