# Code generated by KubeVela templates. DO NOT EDIT. Please edit the original cue file.
# Definition source cue file: vela-templates/definitions/internal/suspend.cue
apiVersion: core.oam.dev/v1beta1
kind: WorkflowStepDefinition
metadata:
  annotations:
    custom.definition.oam.dev/category: Process Control
    definition.oam.dev/description: Suspend the current workflow, it can be resumed by 'vela workflow resume' command.
  name: suspend
  namespace: {{ include "systemDefinitionNamespace" . }}
spec:
  schematic:
    cue:
      template: |
        import (
        	"vela/builtin"
        )

        suspend: builtin.#Suspend & {
        	$params: parameter
        }

        parameter: {
        	// +usage=Specify the wait duration time to resume workflow such as "30s", "1min" or "2m15s"
        	duration?: string
        	// +usage=The suspend message to show
        	message?: string
        }

