interface CfnCloudWatchAlarmTemplateMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaLive.Mixins.CfnCloudWatchAlarmTemplateMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmedialive/mixins#CfnCloudWatchAlarmTemplateMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnCloudWatchAlarmTemplateMixinProps |
Python | aws_cdk.mixins_preview.aws_medialive.mixins.CfnCloudWatchAlarmTemplateMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_medialive » mixins » CfnCloudWatchAlarmTemplateMixinProps |
Properties for CfnCloudWatchAlarmTemplatePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as medialive_mixins } from '@aws-cdk/mixins-preview/aws-medialive';
const cfnCloudWatchAlarmTemplateMixinProps: medialive_mixins.CfnCloudWatchAlarmTemplateMixinProps = {
comparisonOperator: 'comparisonOperator',
datapointsToAlarm: 123,
description: 'description',
evaluationPeriods: 123,
groupIdentifier: 'groupIdentifier',
metricName: 'metricName',
name: 'name',
period: 123,
statistic: 'statistic',
tags: {
tagsKey: 'tags',
},
targetResourceType: 'targetResourceType',
threshold: 123,
treatMissingData: 'treatMissingData',
};
Properties
| Name | Type | Description |
|---|---|---|
| comparison | string | The comparison operator used to compare the specified statistic and the threshold. |
| datapoints | number | The number of datapoints within the evaluation period that must be breaching to trigger the alarm. |
| description? | string | A resource's optional description. |
| evaluation | number | The number of periods over which data is compared to the specified threshold. |
| group | string | A cloudwatch alarm template group's identifier. |
| metric | string | The name of the metric associated with the alarm. |
| name? | string | A resource's name. |
| period? | number | The period, in seconds, over which the specified statistic is applied. |
| statistic? | string | The statistic to apply to the alarm's metric data. |
| tags? | { [string]: string } | Represents the tags associated with a resource. |
| target | string | The resource type this template should dynamically generate CloudWatch metric alarms for. |
| threshold? | number | The threshold value to compare with the specified statistic. |
| treat | string | Specifies how missing data points are treated when evaluating the alarm's condition. |
comparisonOperator?
Type:
string
(optional)
The comparison operator used to compare the specified statistic and the threshold.
datapointsToAlarm?
Type:
number
(optional, default: 0)
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.
description?
Type:
string
(optional)
A resource's optional description.
evaluationPeriods?
Type:
number
(optional, default: 0)
The number of periods over which data is compared to the specified threshold.
groupIdentifier?
Type:
string
(optional)
A cloudwatch alarm template group's identifier.
Can be either be its id or current name.
metricName?
Type:
string
(optional)
The name of the metric associated with the alarm.
Must be compatible with targetResourceType.
name?
Type:
string
(optional)
A resource's name.
Names must be unique within the scope of a resource type in a specific region.
period?
Type:
number
(optional, default: 0)
The period, in seconds, over which the specified statistic is applied.
statistic?
Type:
string
(optional)
The statistic to apply to the alarm's metric data.
tags?
Type:
{ [string]: string }
(optional)
Represents the tags associated with a resource.
targetResourceType?
Type:
string
(optional)
The resource type this template should dynamically generate CloudWatch metric alarms for.
threshold?
Type:
number
(optional, default: 0)
The threshold value to compare with the specified statistic.
treatMissingData?
Type:
string
(optional)
Specifies how missing data points are treated when evaluating the alarm's condition.

.NET
Go
Java
Python
TypeScript