Class: Aws::SSM::Types::NotificationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::NotificationConfig
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ssm/types.rb
Overview
When making an API call, you may pass NotificationConfig data as a hash:
{
notification_arn: "NotificationArn",
notification_events: ["All"], # accepts All, InProgress, Success, TimedOut, Cancelled, Failed
notification_type: "Command", # accepts Command, Invocation
}
Configurations for sending notifications.
Instance Attribute Summary collapse
-
#notification_arn ⇒ String
An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.
-
#notification_events ⇒ Array<String>
The different events for which you can receive notifications.
-
#notification_type ⇒ String
Command: Receive notification when the status of a command changes.
Instance Attribute Details
#notification_arn ⇒ 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.
11239 11240 11241 11242 11243 11244 |
# File 'lib/aws-sdk-ssm/types.rb', line 11239 class NotificationConfig < Struct.new( :notification_arn, :notification_events, :notification_type) include Aws::Structure end |
#notification_events ⇒ Array<String>
The different events for which you can receive notifications. These events include the following: All (events), InProgress, Success, TimedOut, Cancelled, Failed. To learn more about these events, see
- Configuring Amazon SNS Notifications for AWS Systems Manager][1
-
in
the *AWS Systems Manager User Guide*.
[1]: docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html
11239 11240 11241 11242 11243 11244 |
# File 'lib/aws-sdk-ssm/types.rb', line 11239 class NotificationConfig < Struct.new( :notification_arn, :notification_events, :notification_type) include Aws::Structure end |
#notification_type ⇒ String
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.
11239 11240 11241 11242 11243 11244 |
# File 'lib/aws-sdk-ssm/types.rb', line 11239 class NotificationConfig < Struct.new( :notification_arn, :notification_events, :notification_type) include Aws::Structure end |