Skip to main content

template_steps

Creates, updates, deletes, gets or lists a template_steps resource.

Overview

Nametemplate_steps
TypeResource
Idaws.migrationhuborchestrator.template_steps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the step. (pattern: <code>[a-zA-Z0-9-]+</code>)
namestringThe name of the step.
creation_timestringThe time at which the step was created.
descriptionstringThe description of the step.
nextarrayThe next step.
outputsarrayThe outputs of the step.
previousarrayThe previous step.
step_action_typestringThe action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step. (MANUAL, AUTOMATED)
step_automation_configurationobjectThe custom script to run tests on source or target environments.
step_group_idstringThe ID of the step group. (pattern: <code>[a-zA-Z0-9-]+</code>)
template_idstringThe ID of the template. (pattern: <code>[-a-zA-Z0-9_.+]+[-a-zA-Z0-9_.+ ]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_template_stepselectid, templateId, stepGroupId, regionGet a specific step in a template.
list_template_stepsselecttemplateId, stepGroupId, regionmaxResults, nextTokenList the steps in a template.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe ID of the step.
regionstringAWS region (default: us-east-1)
stepGroupIdstringThe ID of the step group.
templateIdstringThe ID of the template.
maxResultsintegerThe maximum number of results that can be returned.
nextTokenstringThe pagination token.

SELECT examples

Get a specific step in a template.

SELECT
id,
name,
creation_time,
description,
next,
outputs,
previous,
step_action_type,
step_automation_configuration,
step_group_id,
template_id
FROM aws.migrationhuborchestrator.template_steps
WHERE id = '{{ id }}' -- required
AND templateId = '{{ templateId }}' -- required
AND stepGroupId = '{{ stepGroupId }}' -- required
AND region = '{{ region }}' -- required
;