Configure AWS Config event notifications
Configure the Amazon Web Services (AWS) Config service to send event notifications to the ServiceNow instance for any changes in the lifecycle state of a resource.
Before you begin
- Ensure that the Discovery (com.snc.discovery) plugin is installed and activated in the instance.
- Ensure that you have valid AWS subscriptions (service accounts) and its associated logical datacenters are discovered.
- Ensure that the user account password used to subscribe the instance to the Simple Notification Service (SNS) does not contain the @ or # characters.
- Ensure that an AWS role is available that
can access the following services and resources:
- SNS
- AWS Config service
- Resource types for which you want to track the configuration change
- ServiceNow roles:
- discovery_admin
- sn_cmp.cloud_event_integration: The access credentials of a ServiceNow user with the sn_cmp.cloud_event_integration role is required to subscribe the instance to the SNS notifications. For more information, see Create a user and Assign a role to a user.
About this task
ServiceNow® event-driven discovery uses the events to update the latest resource information in the Configuration Management Database (CMDB). For more information, see AWS events-driven discovery.
If you're using domain separation for Cloud Discovery, the events are also domain-separated. Therefore, you can view the details of a processed event only if it belongs to your domain. If an event isn’t associated with any service account, then it’s associated with the global domain.
During event processing, the Cloud Event Scheduler identifies the domain of the service account and assigns to the event. If an error occurs in identifying the domain before processing, the event can sometimes stay unassigned and become visible to all domains. To prevent the failed events visibility to all domains, you can set the sn_cmp.error_events.default_domain property to sys_id of the service-provider domain so that the failed events appears only to the service-provider domain administrator.