--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_lightsail_alarm Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::Lightsail::Alarm --- # awscc_lightsail_alarm (Data Source) Data Source schema for AWS::Lightsail::Alarm ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `alarm_arn` (String) - `alarm_name` (String) The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm. - `comparison_operator` (String) The arithmetic operation to use when comparing the specified statistic to the threshold. The specified statistic value is used as the first operand. - `contact_protocols` (Set of String) The contact protocols to use for the alarm, such as Email, SMS (text messaging), or both. - `datapoints_to_alarm` (Number) The number of data points that must be not within the specified threshold to trigger the alarm. If you are setting an "M out of N" alarm, this value (datapointsToAlarm) is the M. - `evaluation_periods` (Number) The number of most recent periods over which data is compared to the specified threshold. If you are setting an "M out of N" alarm, this value (evaluationPeriods) is the N. - `metric_name` (String) The name of the metric to associate with the alarm. - `monitored_resource_name` (String) The validation status of the SSL/TLS certificate. - `notification_enabled` (Boolean) Indicates whether the alarm is enabled. Notifications are enabled by default if you don't specify this parameter. - `notification_triggers` (Set of String) The alarm states that trigger a notification. - `state` (String) The current state of the alarm. - `threshold` (Number) The value against which the specified statistic is compared. - `treat_missing_data` (String) Sets how this alarm will handle missing data points.