This
Customizing an Automation Policy
To customize an automation policy:
- Go to the Automation Policy Manager page (Registry > Run Book > Automation).
- Search for the AWS Automated Troubleshooting automation policy you want to edit and click the wrench icon () for that policy . The Automation Policy Editor page appears.
- Complete the following fields as needed:
- Policy Name. Type a new name for the automation policy to avoid overwriting the default policy.
- Policy Type. Select whether the automation policy will match events that are active, match when events are cleared, or run on a scheduled basis. Typically, you would select Active Events in this field.
- Policy State. Specifies whether the policy will be evaluated against the events in the system. If you want this policy to begin matching events immediately, select Enabled.
- Policy Priority. Specifies whether the policy is high-priority or default priority. These options determine how the policy is queued.
- Organization. Select the organization that will use this policy.
-
Aligned Actions. This field includes the actions associated with the policies from the AWS Automated Troubleshooting PowerPack. To add an action to the Aligned Actions field, select the action in the Available Actions field and click the right arrow (>>). To re-order the actions in the Aligned Actions field, select an action and use the up arrow or down arrow buttons to change that action's position in the sequence.
- Optionally, supply values in the other fields on the Automation Policy Editor page to refine when the automation will trigger.
- Click .
The following table shows the automation policy, its default aligned events, and the automation action that runs in response to the events.
Automation Policy Name | Aligned Events | Automation Action |
---|---|---|
AWS Automated Troubleshooting: Get Console Output | All events | AWS Automated Troubleshooting: Get Console Output |
AWS Automated Troubleshooting: Get Instance Status or Recommendation | All events | AWS Automated Troubleshooting: Instance Status or Recommendation |
AWS Automated Troubleshooting: Monitor or Unmonitor Instance | All events | AWS Automated Troubleshooting: Monitor or Unmonitor Instance |
The "AWS Automated Troubleshooting: Get Console Output Automation" policy will not work for output with a string size greater than 65k.