Notification
public struct Notification : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The comparison that is used for this notification.
Declaration
Swift
public let comparisonOperator: ComparisonOperator
-
Whether this notification is in alarm. If a budget notification is in the ALARM state, you have passed the set threshold for the budget.
Declaration
Swift
public let notificationState: NotificationState?
-
Whether the notification is for how much you have spent (ACTUAL) or for how much you’re forecasted to spend (FORECASTED).
Declaration
Swift
public let notificationType: NotificationType
-
The threshold that is associated with a notification. Thresholds are always a percentage.
Declaration
Swift
public let threshold: Double
-
The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, AWS notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, AWS notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend. For example, if you have a budget for 200 dollars and you have a PERCENTAGE threshold of 80%, AWS notifies you when you go over 160 dollars.
Declaration
Swift
public let thresholdType: ThresholdType?
-
Undocumented
Declaration
Swift
public init(comparisonOperator: ComparisonOperator, notificationState: NotificationState? = nil, notificationType: NotificationType, threshold: Double, thresholdType: ThresholdType? = nil)
-
Declaration
Swift
public func validate(name: String) throws