AWS-AddOpsItemDedupStringToEventBridgeRule - Amazon Systems Manager Automation runbook reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS-AddOpsItemDedupStringToEventBridgeRule

Description

The AWS-AddOpsItemDedupStringToEventBridgeRule runbook adds a deduplication string for all Amazon Systems Manager OpsItems associated with an Amazon EventBridge rule. The runbook doesn't add a deduplication string to the rule if one has already been applied. To learn more deduplication strings and OpsItems, see Reducing duplicate OpsItems in the Amazon Systems Manager User Guide .

Run this Automation (console)

Document type

Automation

Owner

Amazon

Platforms

Linux, macOS, Windows

Parameters

  • AutomationAssumeRole

    Type: String

    Description: (Optional) The Amazon Resource Name (ARN) of the Amazon Identity and Access Management (IAM) role that allows Systems Manager Automation to perform the actions on your behalf. If no role is specified, Systems Manager Automation uses the permissions of the user that starts this runbook.

  • DedupString

    Type: String

    Description: (Required) The deduplication string you want to add to the rule.

  • RuleName

    Type: String

    Description: (Required) The name of the rule you want to add the deduplication string to.

Required IAM permissions

The AutomationAssumeRole parameter requires the following actions to use the runbook successfully.

  • ssm:StartAutomationExecution

  • ssm:GetAutomationExecution

  • events:ListTargetsByRule

  • events:PutTargets

Document Steps

  • aws:executeScript - Adds a deduplication string to the EventBridge rule you specify in the RuleName parameter.