Turning off group lifecycle events
You can turn off group lifecycle events to stop Amazon Resource Groups from emitting events to Amazon EventBridge. You can do this by using either the Amazon Web Services Management Console or by using a command from the Amazon CLI or one of the SDK APIs.
Note
Turning off group lifecycle events deletes the Resource Groups managed EventBridge rule used to scan your resource tags and Amazon CloudFormation stacks for changes. Resource Groups can no longer pass those changes to EventBridge. Any rules you defined in EventBridge that look for Resource Groups events stop receiving events to process. If you intend to turn on group lifecycle events again in the future, you can disable your rules. If you don't intend to use those rules again, you can delete them. For more information, see Disabling or deleting an EventBridge rule in the Amazon EventBridge User Guide.
Turning off group lifecycle events does not delete the service-linked role. You can delete the service-linked role manually if you wish using IAM. If you later need to turn on group lifecycle events again and the service-linked role doesn't exist, Resource Groups recreates it automatically.
Minimum permissions
To turn off group lifecycle events in your current Amazon Web Services account, you must sign in as an Amazon Identity and Access Management (IAM) principal with the following permissions:
-
resource-groups:UpdateAccountSettings
-
events:DeleteRule
-
events:RemoveTargets
-
events:DescribeRule
-
events:ListTargetsByRule
For more information, see the following resources: