AWS Fundamentals Logo
AWS Fundamentals
AWS::MediaLive::CloudWatchAlarmTemplate

MediaLive CloudWatchAlarmTemplate

Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type

Properties

13 configurable properties. 9 required. Click a row to see details.

Filter:
PropertyTypeFlags
ComparisonOperator
string
Required
EvaluationPeriods
number
Required
MetricName
string
Required
Name
string
Required
Period
number
Required
Statistic
string
Required
TargetResourceType
string
Required
Threshold
number
Required
TreatMissingData
string
Required
DatapointsToAlarm
number
Description
string
GroupIdentifier
string
Write-only
Tags
TagMap
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringA cloudwatch alarm template's ARN (Amazon Resource Name)
CreatedAtstring-
GroupIdstringA cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`
IdstringA cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`
Identifierstring-
ModifiedAtstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::MediaLive::CloudWatchAlarmTemplate

Resources:
  MyResource:
    Type: AWS::MediaLive::CloudWatchAlarmTemplate
    Properties:
      ComparisonOperator: "value"
      EvaluationPeriods: 1
      MetricName: "my-metricname"
      Name: "my-name"
      Period: 1
      Statistic: "value"
      TargetResourceType: "value"
      Threshold: 1
      TreatMissingData: "value"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

medialive:CreateCloudWatchAlarmTemplatemedialive:GetCloudWatchAlarmTemplatemedialive:CreateTags

read

medialive:GetCloudWatchAlarmTemplate

update

medialive:UpdateCloudWatchAlarmTemplatemedialive:GetCloudWatchAlarmTemplatemedialive:CreateTagsmedialive:DeleteTags

delete

medialive:DeleteCloudWatchAlarmTemplate

list

medialive:ListCloudWatchAlarmTemplates

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

ServiceMediaLive
Properties19
Required9
TaggingSupported
Primary IDIdentifier

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Tags

External Links