Interface CfnCloudWatchAlarmTemplateMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCloudWatchAlarmTemplateMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:28.348Z")
@Stability(Stable)
public interface CfnCloudWatchAlarmTemplateMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnCloudWatchAlarmTemplatePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.medialive.mixins.*;
CfnCloudWatchAlarmTemplateMixinProps cfnCloudWatchAlarmTemplateMixinProps = CfnCloudWatchAlarmTemplateMixinProps.builder()
.comparisonOperator("comparisonOperator")
.datapointsToAlarm(123)
.description("description")
.evaluationPeriods(123)
.groupIdentifier("groupIdentifier")
.metricName("metricName")
.name("name")
.period(123)
.statistic("statistic")
.tags(Map.of(
"tagsKey", "tags"))
.targetResourceType("targetResourceType")
.threshold(123)
.treatMissingData("treatMissingData")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCloudWatchAlarmTemplateMixinPropsstatic final classAn implementation forCfnCloudWatchAlarmTemplateMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe comparison operator used to compare the specified statistic and the threshold.default NumberThe number of datapoints within the evaluation period that must be breaching to trigger the alarm.default StringA resource's optional description.default NumberThe number of periods over which data is compared to the specified threshold.default StringA cloudwatch alarm template group's identifier.default StringThe name of the metric associated with the alarm.default StringgetName()A resource's name.default NumberThe period, in seconds, over which the specified statistic is applied.default StringThe statistic to apply to the alarm's metric data.getTags()Represents the tags associated with a resource.default StringThe resource type this template should dynamically generate CloudWatch metric alarms for.default NumberThe threshold value to compare with the specified statistic.default StringSpecifies how missing data points are treated when evaluating the alarm's condition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComparisonOperator
The comparison operator used to compare the specified statistic and the threshold.- See Also:
-
getDatapointsToAlarm
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.Default: - 0
- See Also:
-
getDescription
A resource's optional description.- See Also:
-
getEvaluationPeriods
The number of periods over which data is compared to the specified threshold.Default: - 0
- See Also:
-
getGroupIdentifier
A cloudwatch alarm template group's identifier.Can be either be its id or current name.
- See Also:
-
getMetricName
The name of the metric associated with the alarm.Must be compatible with targetResourceType.
- See Also:
-
getName
A resource's name.Names must be unique within the scope of a resource type in a specific region.
- See Also:
-
getPeriod
The period, in seconds, over which the specified statistic is applied.Default: - 0
- See Also:
-
getStatistic
The statistic to apply to the alarm's metric data.- See Also:
-
getTags
Represents the tags associated with a resource.- See Also:
-
getTargetResourceType
The resource type this template should dynamically generate CloudWatch metric alarms for.- See Also:
-
getThreshold
The threshold value to compare with the specified statistic.Default: - 0
- See Also:
-
getTreatMissingData
Specifies how missing data points are treated when evaluating the alarm's condition.- See Also:
-
builder
-