Comment on page
Configure Action Inputs
Configure input parameters in your RunBook Actions.
Most Actions take Input parameters. An input parameter is a way to defined a variable that is submitted to the Action by the user. Action inputs might also be an output from another Action's result.
Allowing for variable input parameters is an important part of making Actions flexible and reusable. Each Input parameter has a type (List, String, Number, etc.) to ensure that the correct data is being sent into the Action.
If you are creating an Action, add an input from the three dot menu in the top bar of the Action. Give the input a name, type, description, and indicate whether the input is required or optional for the Action to run. If you want to, you can provide a default value as well.
If you press the configuration button for your action, a menu will appear in the right navigation. The inputs are on the default screen:
In this case, the Region input is set to the String "us-west-2"
Alternatively, we can assign the variable region, and now whatever string is in this variable can be applied to the Region input.
This allows for greater flexibility in your Action - as long as the region variable matches a AWS region, you can run this Action.