Skip to content

aws.migrationhuborchestrator.get_workflow_step

Example SQL Queries

SELECT * FROM
aws.migrationhuborchestrator.get_workflow_step
WHERE
"workflow_id" = 'VALUE'
AND "step_group_id" = 'VALUE'
AND "id" = 'VALUE';

Description

Get a step in the migration workflow.

Table Definition

Column NameColumn Data Type
id Required Input Column

The ID of the step.

VARCHAR
step_group_id Required Input Column

The ID of the step group.

VARCHAR
workflow_id Required Input Column

The ID of the migration workflow.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

creation_time

The time at which the step was created.

TIMESTAMP_S
description

The description of the step.

VARCHAR
end_time

The time at which the step ended.

TIMESTAMP_S
last_start_time

The time at which the workflow was last started.

TIMESTAMP_S
name

The name of the step.

VARCHAR
next

The next step.

VARCHAR[]
Show child fields
next[]
no_of_srv_completed

The number of servers that have been migrated.

BIGINT
no_of_srv_failed

The number of servers that have failed to migrate.

BIGINT
outputs

The outputs of the step.

STRUCT(
"name" VARCHAR,
"data_type" VARCHAR,
"required" BOOLEAN,
"value" STRUCT(
"integer_value" BIGINT,
"string_value" VARCHAR,
"list_of_string_value" VARCHAR[]
)
)[]
Show child fields
outputs[]
Show child fields
outputs[].data_type

The data type of the output.

outputs[].name

The name of the step.

outputs[].required

Determine if an output is required from a step.

outputs[].value

The value of the output.

Show child fields
outputs[].value.integer_value

The integer value.

outputs[].value.list_of_string_value[]
outputs[].value.string_value

The string value.

owner

The owner of the step.

VARCHAR
previous

The previous step.

VARCHAR[]
Show child fields
previous[]
script_output_location

The output location of the script.

VARCHAR
status

The status of the step.

VARCHAR
status_message

The status message of the migration workflow.

VARCHAR
step_action_type

The 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.

VARCHAR
step_id

The ID of the step.

VARCHAR
step_target

The servers on which a step will be run.

VARCHAR[]
Show child fields
step_target[]
total_no_of_srv

The total number of servers that have been migrated.

BIGINT
workflow_step_automation_configuration

The custom script to run tests on source or target environments.

STRUCT(
"script_location_s3_bucket" VARCHAR,
"script_location_s3_key" STRUCT(
"linux" VARCHAR,
"windows" VARCHAR
),
"command" STRUCT(
"linux" VARCHAR,
"windows" VARCHAR
),
"run_environment" VARCHAR,
"target_type" VARCHAR
)
Show child fields
workflow_step_automation_configuration.command

The command required to run the script.

Show child fields
workflow_step_automation_configuration.command.linux

Command for Linux.

workflow_step_automation_configuration.command.windows

Command for Windows.

workflow_step_automation_configuration.run_environment

The source or target environment.

workflow_step_automation_configuration.script_location_s3_bucket

The Amazon S3 bucket where the script is located.

workflow_step_automation_configuration.script_location_s3_key

The Amazon S3 key for the script location.

Show child fields
workflow_step_automation_configuration.script_location_s3_key.linux

The script location for Linux.

workflow_step_automation_configuration.script_location_s3_key.windows

The script location for Windows.

workflow_step_automation_configuration.target_type

The servers on which to run the script.