AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MediaLive::CloudWatchAlarmTemplate

CfnCloudWatchAlarmTemplate

Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type.

Import

import { CfnCloudWatchAlarmTemplate } from 'aws-cdk-lib/aws-medialive';

Or use the module namespace:

import * as medialive from 'aws-cdk-lib/aws-medialive';
// medialive.CfnCloudWatchAlarmTemplate

Properties

Configuration passed to the constructor as CfnCloudWatchAlarmTemplateProps.

comparisonOperatorRequired
string

The comparison operator used to compare the specified statistic and the threshold.

evaluationPeriodsRequired
number

The number of periods over which data is compared to the specified threshold.

Default: - 0

metricNameRequired
string

The name of the metric associated with the alarm. Must be compatible with targetResourceType.

nameRequired
string

A resource's name. Names must be unique within the scope of a resource type in a specific region.

periodRequired
number

The period, in seconds, over which the specified statistic is applied.

Default: - 0

statisticRequired
string

The statistic to apply to the alarm's metric data.

targetResourceTypeRequired
string

The resource type this template should dynamically generate CloudWatch metric alarms for.

thresholdRequired
number

The threshold value to compare with the specified statistic.

Default: - 0

treatMissingDataRequired
string

Specifies how missing data points are treated when evaluating the alarm's condition.

datapointsToAlarmOptional
number

The number of datapoints within the evaluation period that must be breaching to trigger the alarm.

Default: - 0

descriptionOptional
string

A resource's optional description.

groupIdentifierOptional
string

A 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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter