#[non_exhaustive]pub struct NotificationChannelConfig { /* private fields */ }
Expand description
Information about notification channels you have configured with DevOps Guru. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
Implementations§
source§impl NotificationChannelConfig
impl NotificationChannelConfig
sourcepub fn sns(&self) -> Option<&SnsChannelConfig>
pub fn sns(&self) -> Option<&SnsChannelConfig>
Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
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. DevOps Guru only supports standard SNS topics. For more information, see Permissions for cross account Amazon SNS topics.
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 Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
sourcepub fn filters(&self) -> Option<&NotificationFilterConfig>
pub fn filters(&self) -> Option<&NotificationFilterConfig>
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types of High
or Medium
severity.
source§impl NotificationChannelConfig
impl NotificationChannelConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NotificationChannelConfig
.
Trait Implementations§
source§impl Clone for NotificationChannelConfig
impl Clone for NotificationChannelConfig
source§fn clone(&self) -> NotificationChannelConfig
fn clone(&self) -> NotificationChannelConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationChannelConfig
impl Debug for NotificationChannelConfig
source§impl PartialEq<NotificationChannelConfig> for NotificationChannelConfig
impl PartialEq<NotificationChannelConfig> for NotificationChannelConfig
source§fn eq(&self, other: &NotificationChannelConfig) -> bool
fn eq(&self, other: &NotificationChannelConfig) -> bool
self
and other
values to be equal, and is used
by ==
.