Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data NotificationChannel Source #
Information about a notification channel. A notification channel is used to notify you when DevOps Guru creates an insight. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
See: newNotificationChannel
smart constructor.
Instances
newNotificationChannel :: NotificationChannel Source #
Create a value of NotificationChannel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:config:NotificationChannel'
, notificationChannel_config
- A NotificationChannelConfig
object that contains information about
configured notification channels.
$sel:id:NotificationChannel'
, notificationChannel_id
- The ID of a notification channel.
notificationChannel_config :: Lens' NotificationChannel (Maybe NotificationChannelConfig) Source #
A NotificationChannelConfig
object that contains information about
configured notification channels.
notificationChannel_id :: Lens' NotificationChannel (Maybe Text) Source #
The ID of a notification channel.