#[non_exhaustive]pub struct NotificationChannelConfigBuilder { /* private fields */ }
Expand description
A builder for NotificationChannelConfig
.
Implementations§
source§impl NotificationChannelConfigBuilder
impl NotificationChannelConfigBuilder
sourcepub fn sns(self, input: SnsChannelConfig) -> Self
pub fn sns(self, input: SnsChannelConfig) -> Self
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 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.
This field is required.sourcepub fn set_sns(self, input: Option<SnsChannelConfig>) -> Self
pub fn set_sns(self, input: Option<SnsChannelConfig>) -> Self
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 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.
sourcepub fn get_sns(&self) -> &Option<SnsChannelConfig>
pub fn get_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 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.
sourcepub fn filters(self, input: NotificationFilterConfig) -> Self
pub fn filters(self, input: NotificationFilterConfig) -> Self
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.
sourcepub fn set_filters(self, input: Option<NotificationFilterConfig>) -> Self
pub fn set_filters(self, input: Option<NotificationFilterConfig>) -> Self
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.
sourcepub fn get_filters(&self) -> &Option<NotificationFilterConfig>
pub fn get_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.
sourcepub fn build(self) -> NotificationChannelConfig
pub fn build(self) -> NotificationChannelConfig
Consumes the builder and constructs a NotificationChannelConfig
.
Trait Implementations§
source§impl Clone for NotificationChannelConfigBuilder
impl Clone for NotificationChannelConfigBuilder
source§fn clone(&self) -> NotificationChannelConfigBuilder
fn clone(&self) -> NotificationChannelConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for NotificationChannelConfigBuilder
impl Default for NotificationChannelConfigBuilder
source§fn default() -> NotificationChannelConfigBuilder
fn default() -> NotificationChannelConfigBuilder
source§impl PartialEq for NotificationChannelConfigBuilder
impl PartialEq for NotificationChannelConfigBuilder
source§fn eq(&self, other: &NotificationChannelConfigBuilder) -> bool
fn eq(&self, other: &NotificationChannelConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.