notification_configurations
Creates, updates, deletes, gets or lists a notification_configurations resource.
Overview
| Name | notification_configurations |
| Type | Resource |
| Id | aws.codeguruprofiler.notification_configurations |
Fields
The following fields are returned by SELECT queries:
- get_notification_configuration
| Name | Datatype | Description |
|---|---|---|
channels | array | List of up to two channels to be used for sending notifications for events detected from the application profile. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_notification_configuration | select | profiling_group_name, region | Get the current configuration for anomaly notifications for a profiling group. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
profiling_group_name | string | The name of the profiling group we want to get the notification configuration for. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_notification_configuration
Get the current configuration for anomaly notifications for a profiling group.
SELECT
channels
FROM aws.codeguruprofiler.notification_configurations
WHERE profiling_group_name = '{{ profiling_group_name }}' -- required
AND region = '{{ region }}' -- required
;