Note
The AWS Migration Hub Automation feature is in preview release. It is available in US East (N. Virginia). To use this feature, you must set your AWS Region to US East (N. Virginia). You must also set the AWS Migration Hub home Region to US East (N. Virginia). For instructions on how to set the AWS Migration Hub home Region, see Managing your AWS Migration Hub home Region.
This is pre-release documentation. Both the AWS Migration Hub Automation feature and the documentation are subject to change.
This topic describes how to create a custom automation unit. For information about how to run an automation unit, see Automation runs in AWS Migration Hub.
To create a custom automation unit
Sign in to the AWS Management Console and open the Migration Hub console at https://console.aws.amazon.com/migrationhub/
. -
In the left navigation pane, under Automation, choose Automation units.
-
Choose Create custom unit.
-
Enter a unique name for the unit.
-
For the runtime target, specify the ARN of one of the following:
-
An AWS-owned Systems Manager automation document. For information, see Systems Manager Automation runbook reference.
-
Your own Systems Manager automation. For information, see Authoring Automation runbooks.
-
A Lambda function. For information, see Create your first Lambda function.
-
-
AWS does not use the values that you enter for the optional fields Runtime services, Description, and Prerequisites other than for display purposes. The purpose of these three fields is to allow you to document your custom automation unit. After you create the unit, you can see the values that you entered for these three fields in the unit's details page.
-
Choose Next.
-
To add an input to the automation unit, choose Add input.
-
Specify a name and a type for this input. Optionally, you can also enter a description and a format in the form of a regular expression.
-
The default is for the new input to be required. To make this input optional, clear the This input is required checkbox.
-
-
To specify more inputs for the custom unit, choose Add input again, and then follow the previous steps for each additional input.
-
In the IAM role - optional section, specify an IAM role that has the trust policy that Migration Hub needs to run the unit, and the permissions policy that your custom unit needs to perform its actions. To learn how to create such a role, see IAM role and policies for custom automation units.
-
Review the details that you entered for the unit, and then choose Create automation unit.