Struct aws_sdk_devopsguru::types::NotificationChannel
source · #[non_exhaustive]pub struct NotificationChannel {
pub id: Option<String>,
pub config: Option<NotificationChannelConfig>,
}
Expand description
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 send 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 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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The ID of a notification channel.
config: Option<NotificationChannelConfig>
A NotificationChannelConfig
object that contains information about configured notification channels.
Implementations§
source§impl NotificationChannel
impl NotificationChannel
sourcepub fn builder() -> NotificationChannelBuilder
pub fn builder() -> NotificationChannelBuilder
Creates a new builder-style object to manufacture NotificationChannel
.
Trait Implementations§
source§impl Clone for NotificationChannel
impl Clone for NotificationChannel
source§fn clone(&self) -> NotificationChannel
fn clone(&self) -> NotificationChannel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NotificationChannel
impl Debug for NotificationChannel
source§impl PartialEq for NotificationChannel
impl PartialEq for NotificationChannel
source§fn eq(&self, other: &NotificationChannel) -> bool
fn eq(&self, other: &NotificationChannel) -> bool
self
and other
values to be equal, and is used
by ==
.