Struct aws_sdk_devopsguru::types::SnsChannelConfig
source · #[non_exhaustive]pub struct SnsChannelConfig {
pub topic_arn: Option<String>,
}
Expand description
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
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.topic_arn: Option<String>
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
Implementations§
source§impl SnsChannelConfig
impl SnsChannelConfig
sourcepub fn builder() -> SnsChannelConfigBuilder
pub fn builder() -> SnsChannelConfigBuilder
Creates a new builder-style object to manufacture SnsChannelConfig
.
Trait Implementations§
source§impl Clone for SnsChannelConfig
impl Clone for SnsChannelConfig
source§fn clone(&self) -> SnsChannelConfig
fn clone(&self) -> SnsChannelConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnsChannelConfig
impl Debug for SnsChannelConfig
source§impl PartialEq for SnsChannelConfig
impl PartialEq for SnsChannelConfig
source§fn eq(&self, other: &SnsChannelConfig) -> bool
fn eq(&self, other: &SnsChannelConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnsChannelConfig
Auto Trait Implementations§
impl Freeze for SnsChannelConfig
impl RefUnwindSafe for SnsChannelConfig
impl Send for SnsChannelConfig
impl Sync for SnsChannelConfig
impl Unpin for SnsChannelConfig
impl UnwindSafe for SnsChannelConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more