Struct aws_sdk_ssm::model::NotificationConfig [−][src]
#[non_exhaustive]pub struct NotificationConfig {
pub notification_arn: Option<String>,
pub notification_events: Option<Vec<NotificationEvent>>,
pub notification_type: Option<NotificationType>,
}
Expand description
Configurations for sending notifications.
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.notification_arn: Option<String>
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
notification_events: Option<Vec<NotificationEvent>>
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
notification_type: Option<NotificationType>
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
Implementations
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run Command pushes notifications about command status changes to this topic.
The different events for which you can receive notifications. To learn more about these events, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
The type of notification.
-
Command
: Receive notification when the status of a command changes. -
Invocation
: For commands sent to multiple instances, receive notification on a per-instance basis when the status of a command changes.
Creates a new builder-style object to manufacture NotificationConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NotificationConfig
impl Send for NotificationConfig
impl Sync for NotificationConfig
impl Unpin for NotificationConfig
impl UnwindSafe for NotificationConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more