CloudWatchAlarmConfiguration
public struct CloudWatchAlarmConfiguration : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.
Declaration
Swift
public let comparisonOperator: ComparisonOperator
-
For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.
Declaration
Swift
public let dimensions: [Dimension]?
-
For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.
Declaration
Swift
public let evaluationPeriods: Int
-
The name of the CloudWatch metric that the alarm is associated with.
Declaration
Swift
public let metricName: String
-
The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.
Declaration
Swift
public let namespace: String
-
For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.
Declaration
Swift
public let period: Int
-
For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.
Declaration
Swift
public let statistic: Statistic
-
For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.
Declaration
Swift
public let threshold: Double
-
init(comparisonOperator:dimensions:evaluationPeriods:metricName:namespace:period:statistic:threshold:)
Undocumented
Declaration
Swift
public init(comparisonOperator: ComparisonOperator, dimensions: [Dimension]? = nil, evaluationPeriods: Int, metricName: String, namespace: String, period: Int, statistic: Statistic, threshold: Double)