AWS::MediaLive::CloudWatchAlarmTemplateDefinition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type
13 configurable properties. 9 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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 |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | A cloudwatch alarm template's ARN (Amazon Resource Name) |
CreatedAt | string | - |
GroupId | string | A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-` |
Id | string | A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-` |
Identifier | string | - |
ModifiedAt | string | - |
A minimal template with required properties and common optional ones.
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"Permissions CloudFormation needs in your IAM role to manage this resource.
medialive:CreateCloudWatchAlarmTemplatemedialive:GetCloudWatchAlarmTemplatemedialive:CreateTagsmedialive:GetCloudWatchAlarmTemplatemedialive:UpdateCloudWatchAlarmTemplatemedialive:GetCloudWatchAlarmTemplatemedialive:CreateTagsmedialive:DeleteTagsmedialive:DeleteCloudWatchAlarmTemplatemedialive:ListCloudWatchAlarmTemplatesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterIdentifierThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Tags