/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ssm-2014-11-06.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SimpleSystemsManagement.Model { /// /// Configurations for sending notifications. /// public partial class NotificationConfig { private string _notificationArn; private List _notificationEvents = new List(); private NotificationType _notificationType; /// /// Gets and sets the property NotificationArn. /// /// 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. /// /// public string NotificationArn { get { return this._notificationArn; } set { this._notificationArn = value; } } // Check to see if NotificationArn property is set internal bool IsSetNotificationArn() { return this._notificationArn != null; } /// /// Gets and sets the property NotificationEvents. /// /// 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. /// /// public List NotificationEvents { get { return this._notificationEvents; } set { this._notificationEvents = value; } } // Check to see if NotificationEvents property is set internal bool IsSetNotificationEvents() { return this._notificationEvents != null && this._notificationEvents.Count > 0; } /// /// Gets and sets the property NotificationType. /// /// The type of notification. /// ///
  • /// /// Command: Receive notification when the status of a command changes. /// ///
  • /// /// Invocation: For commands sent to multiple managed nodes, receive notification /// on a per-node basis when the status of a command changes. /// ///
///
public NotificationType NotificationType { get { return this._notificationType; } set { this._notificationType = value; } } // Check to see if NotificationType property is set internal bool IsSetNotificationType() { return this._notificationType != null; } } }