AWS::MediaLive::CloudWatchAlarmTemplateDefinition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type.
import { CfnCloudWatchAlarmTemplate } from 'aws-cdk-lib/aws-medialive';Or use the module namespace:
import * as medialive from 'aws-cdk-lib/aws-medialive';
// medialive.CfnCloudWatchAlarmTemplateConfiguration passed to the constructor as CfnCloudWatchAlarmTemplateProps.
comparisonOperatorRequiredstringThe comparison operator used to compare the specified statistic and the threshold.
evaluationPeriodsRequirednumberThe number of periods over which data is compared to the specified threshold.
Default: - 0
metricNameRequiredstringThe name of the metric associated with the alarm. Must be compatible with targetResourceType.
nameRequiredstringA resource's name. Names must be unique within the scope of a resource type in a specific region.
periodRequirednumberThe period, in seconds, over which the specified statistic is applied.
Default: - 0
statisticRequiredstringThe statistic to apply to the alarm's metric data.
targetResourceTypeRequiredstringThe resource type this template should dynamically generate CloudWatch metric alarms for.
thresholdRequirednumberThe threshold value to compare with the specified statistic.
Default: - 0
treatMissingDataRequiredstringSpecifies how missing data points are treated when evaluating the alarm's condition.
datapointsToAlarmOptionalnumberThe number of datapoints within the evaluation period that must be breaching to trigger the alarm.
Default: - 0
descriptionOptionalstringA resource's optional description.
groupIdentifierOptionalstringA cloudwatch alarm template group's identifier. Can be either be its id or current name.
tagsOptional{ [key: string]: string }Represents the tags associated with a resource.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-medialiveAWS::MediaLive::CloudWatchAlarmTemplate