This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.awsconnector.getCloudWatchAlarm
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a CloudWatchAlarm Azure REST API version: 2024-12-01.
Using getCloudWatchAlarm
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudWatchAlarm(args: GetCloudWatchAlarmArgs, opts?: InvokeOptions): Promise<GetCloudWatchAlarmResult>
function getCloudWatchAlarmOutput(args: GetCloudWatchAlarmOutputArgs, opts?: InvokeOptions): Output<GetCloudWatchAlarmResult>def get_cloud_watch_alarm(name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCloudWatchAlarmResult
def get_cloud_watch_alarm_output(name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCloudWatchAlarmResult]func LookupCloudWatchAlarm(ctx *Context, args *LookupCloudWatchAlarmArgs, opts ...InvokeOption) (*LookupCloudWatchAlarmResult, error)
func LookupCloudWatchAlarmOutput(ctx *Context, args *LookupCloudWatchAlarmOutputArgs, opts ...InvokeOption) LookupCloudWatchAlarmResultOutput> Note: This function is named LookupCloudWatchAlarm in the Go SDK.
public static class GetCloudWatchAlarm 
{
    public static Task<GetCloudWatchAlarmResult> InvokeAsync(GetCloudWatchAlarmArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudWatchAlarmResult> Invoke(GetCloudWatchAlarmInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudWatchAlarmResult> getCloudWatchAlarm(GetCloudWatchAlarmArgs args, InvokeOptions options)
public static Output<GetCloudWatchAlarmResult> getCloudWatchAlarm(GetCloudWatchAlarmArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:awsconnector:getCloudWatchAlarm
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of CloudWatchAlarm
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Name string
- Name of CloudWatchAlarm
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name String
- Name of CloudWatchAlarm
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- name string
- Name of CloudWatchAlarm
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name str
- Name of CloudWatchAlarm
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- name String
- Name of CloudWatchAlarm
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getCloudWatchAlarm Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Aws Connector. Outputs. Cloud Watch Alarm Properties Response 
- The resource-specific properties for this resource.
- SystemData Pulumi.Azure Native. Aws Connector. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
CloudWatch Alarm Properties Response 
- The resource-specific properties for this resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
CloudWatch Alarm Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
CloudWatch Alarm Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
CloudWatch Alarm Properties Response 
- The resource-specific properties for this resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String>
- Resource tags.
Supporting Types
AwsCloudWatchAlarmPropertiesResponse     
- ActionsEnabled bool
- Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- AlarmActions List<string>
- The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- AlarmDescription string
- The description of the alarm.
- AlarmName string
- The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Arn string
- Property arn
- ComparisonOperator string
- The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- DatapointsTo intAlarm 
- The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for EvaluationPeriodsis the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods, and the alarm goes to alarm state if that many consecutive periods are breaching.
- Dimensions
List<Pulumi.Azure Native. Aws Connector. Inputs. Dimension Response> 
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify Dimensions. Instead, you useMetrics.
- EvaluateLow stringSample Count Percentile 
- Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluateor this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
- EvaluationPeriods int
- The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and DatapointsToAlarmis the M. For more information, see Evaluating an Alarm in the User Guide.
- ExtendedStatistic string
- The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either StatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyExtendedStatistic. Instead, you useMetrics.
- InsufficientData List<string>Actions 
- The actions to execute when this alarm transitions to the INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- MetricName string
- The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metricsinstead and you can't specifyMetricName.
- Metrics
List<Pulumi.Azure Native. Aws Connector. Inputs. Metric Data Query Response> 
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the Metricsparameter, you cannot specifyMetricName,Dimensions,Period,Namespace,Statistic,ExtendedStatistic, orUnit.
- Namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespaceand you useMetricsinstead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics.
- OkActions List<string>
- The actions to execute when this alarm transitions to the OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- Period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify Period, and instead you use theMetricsparameter. Minimum: 10
- Statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. For an alarm based on a metric, you must specify eitherStatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyStatistic. Instead, you useMetrics.
- 
List<Pulumi.Azure Native. Aws Connector. Inputs. Tag Response> 
- Property tags
- Threshold double
- The value to compare with the specified statistic.
- ThresholdMetric stringId 
- In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BANDfunction used as the threshold for the alarm.
- TreatMissing stringData 
- Sets how this alarm is to handle missing data points. Valid values are breaching,notBreaching,ignore, andmissing. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissingis used.
- Unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a Metricsarray. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- ActionsEnabled bool
- Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- AlarmActions []string
- The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- AlarmDescription string
- The description of the alarm.
- AlarmName string
- The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Arn string
- Property arn
- ComparisonOperator string
- The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- DatapointsTo intAlarm 
- The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for EvaluationPeriodsis the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods, and the alarm goes to alarm state if that many consecutive periods are breaching.
- Dimensions
[]DimensionResponse 
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify Dimensions. Instead, you useMetrics.
- EvaluateLow stringSample Count Percentile 
- Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluateor this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
- EvaluationPeriods int
- The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and DatapointsToAlarmis the M. For more information, see Evaluating an Alarm in the User Guide.
- ExtendedStatistic string
- The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either StatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyExtendedStatistic. Instead, you useMetrics.
- InsufficientData []stringActions 
- The actions to execute when this alarm transitions to the INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- MetricName string
- The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metricsinstead and you can't specifyMetricName.
- Metrics
[]MetricData Query Response 
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the Metricsparameter, you cannot specifyMetricName,Dimensions,Period,Namespace,Statistic,ExtendedStatistic, orUnit.
- Namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespaceand you useMetricsinstead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics.
- OkActions []string
- The actions to execute when this alarm transitions to the OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- Period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify Period, and instead you use theMetricsparameter. Minimum: 10
- Statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. For an alarm based on a metric, you must specify eitherStatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyStatistic. Instead, you useMetrics.
- 
[]TagResponse 
- Property tags
- Threshold float64
- The value to compare with the specified statistic.
- ThresholdMetric stringId 
- In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BANDfunction used as the threshold for the alarm.
- TreatMissing stringData 
- Sets how this alarm is to handle missing data points. Valid values are breaching,notBreaching,ignore, andmissing. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissingis used.
- Unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a Metricsarray. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actionsEnabled Boolean
- Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarmActions List<String>
- The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarmDescription String
- The description of the alarm.
- alarmName String
- The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- arn String
- Property arn
- comparisonOperator String
- The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapointsTo IntegerAlarm 
- The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for EvaluationPeriodsis the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods, and the alarm goes to alarm state if that many consecutive periods are breaching.
- dimensions
List<DimensionResponse> 
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify Dimensions. Instead, you useMetrics.
- evaluateLow StringSample Count Percentile 
- Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluateor this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
- evaluationPeriods Integer
- The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and DatapointsToAlarmis the M. For more information, see Evaluating an Alarm in the User Guide.
- extendedStatistic String
- The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either StatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyExtendedStatistic. Instead, you useMetrics.
- insufficientData List<String>Actions 
- The actions to execute when this alarm transitions to the INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- metricName String
- The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metricsinstead and you can't specifyMetricName.
- metrics
List<MetricData Query Response> 
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the Metricsparameter, you cannot specifyMetricName,Dimensions,Period,Namespace,Statistic,ExtendedStatistic, orUnit.
- namespace String
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespaceand you useMetricsinstead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics.
- okActions List<String>
- The actions to execute when this alarm transitions to the OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- period Integer
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify Period, and instead you use theMetricsparameter. Minimum: 10
- statistic String
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. For an alarm based on a metric, you must specify eitherStatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyStatistic. Instead, you useMetrics.
- 
List<TagResponse> 
- Property tags
- threshold Double
- The value to compare with the specified statistic.
- thresholdMetric StringId 
- In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BANDfunction used as the threshold for the alarm.
- treatMissing StringData 
- Sets how this alarm is to handle missing data points. Valid values are breaching,notBreaching,ignore, andmissing. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissingis used.
- unit String
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a Metricsarray. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actionsEnabled boolean
- Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarmActions string[]
- The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarmDescription string
- The description of the alarm.
- alarmName string
- The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- arn string
- Property arn
- comparisonOperator string
- The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapointsTo numberAlarm 
- The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for EvaluationPeriodsis the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods, and the alarm goes to alarm state if that many consecutive periods are breaching.
- dimensions
DimensionResponse[] 
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify Dimensions. Instead, you useMetrics.
- evaluateLow stringSample Count Percentile 
- Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluateor this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
- evaluationPeriods number
- The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and DatapointsToAlarmis the M. For more information, see Evaluating an Alarm in the User Guide.
- extendedStatistic string
- The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either StatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyExtendedStatistic. Instead, you useMetrics.
- insufficientData string[]Actions 
- The actions to execute when this alarm transitions to the INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- metricName string
- The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metricsinstead and you can't specifyMetricName.
- metrics
MetricData Query Response[] 
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the Metricsparameter, you cannot specifyMetricName,Dimensions,Period,Namespace,Statistic,ExtendedStatistic, orUnit.
- namespace string
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespaceand you useMetricsinstead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics.
- okActions string[]
- The actions to execute when this alarm transitions to the OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- period number
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify Period, and instead you use theMetricsparameter. Minimum: 10
- statistic string
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. For an alarm based on a metric, you must specify eitherStatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyStatistic. Instead, you useMetrics.
- 
TagResponse[] 
- Property tags
- threshold number
- The value to compare with the specified statistic.
- thresholdMetric stringId 
- In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BANDfunction used as the threshold for the alarm.
- treatMissing stringData 
- Sets how this alarm is to handle missing data points. Valid values are breaching,notBreaching,ignore, andmissing. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissingis used.
- unit string
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a Metricsarray. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actions_enabled bool
- Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarm_actions Sequence[str]
- The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarm_description str
- The description of the alarm.
- alarm_name str
- The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- arn str
- Property arn
- comparison_operator str
- The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapoints_to_ intalarm 
- The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for EvaluationPeriodsis the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods, and the alarm goes to alarm state if that many consecutive periods are breaching.
- dimensions
Sequence[DimensionResponse] 
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify Dimensions. Instead, you useMetrics.
- evaluate_low_ strsample_ count_ percentile 
- Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluateor this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
- evaluation_periods int
- The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and DatapointsToAlarmis the M. For more information, see Evaluating an Alarm in the User Guide.
- extended_statistic str
- The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either StatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyExtendedStatistic. Instead, you useMetrics.
- insufficient_data_ Sequence[str]actions 
- The actions to execute when this alarm transitions to the INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- metric_name str
- The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metricsinstead and you can't specifyMetricName.
- metrics
Sequence[MetricData Query Response] 
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the Metricsparameter, you cannot specifyMetricName,Dimensions,Period,Namespace,Statistic,ExtendedStatistic, orUnit.
- namespace str
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespaceand you useMetricsinstead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics.
- ok_actions Sequence[str]
- The actions to execute when this alarm transitions to the OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- period int
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify Period, and instead you use theMetricsparameter. Minimum: 10
- statistic str
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. For an alarm based on a metric, you must specify eitherStatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyStatistic. Instead, you useMetrics.
- 
Sequence[TagResponse] 
- Property tags
- threshold float
- The value to compare with the specified statistic.
- threshold_metric_ strid 
- In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BANDfunction used as the threshold for the alarm.
- treat_missing_ strdata 
- Sets how this alarm is to handle missing data points. Valid values are breaching,notBreaching,ignore, andmissing. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissingis used.
- unit str
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a Metricsarray. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- actionsEnabled Boolean
- Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE.
- alarmActions List<String>
- The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see PutMetricAlarm in the API Reference.
- alarmDescription String
- The description of the alarm.
- alarmName String
- The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- arn String
- Property arn
- comparisonOperator String
- The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
- datapointsTo NumberAlarm 
- The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an 'M out of N' alarm. In that case, this value is the M, and the value that you set for EvaluationPeriodsis the N value. For more information, see Evaluating an Alarm in the User Guide. If you omit this parameter, CW uses the same value here that you set forEvaluationPeriods, and the alarm goes to alarm state if that many consecutive periods are breaching.
- dimensions List<Property Map>
- The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify Dimensions. Instead, you useMetrics.
- evaluateLow StringSample Count Percentile 
- Used only for alarms based on percentiles. If ignore, the alarm state does not change during periods with too few data points to be statistically significant. Ifevaluateor this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
- evaluationPeriods Number
- The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an 'M out of N' alarm, this value is the N, and DatapointsToAlarmis the M. For more information, see Evaluating an Alarm in the User Guide.
- extendedStatistic String
- The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. For an alarm based on a metric, you must specify either StatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyExtendedStatistic. Instead, you useMetrics.
- insufficientData List<String>Actions 
- The actions to execute when this alarm transitions to the INSUFFICIENT_DATAstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- metricName String
- The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use Metricsinstead and you can't specifyMetricName.
- metrics List<Property Map>
- An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. If you specify the Metricsparameter, you cannot specifyMetricName,Dimensions,Period,Namespace,Statistic,ExtendedStatistic, orUnit.
- namespace String
- The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify Namespaceand you useMetricsinstead. For a list of namespaces for metrics from AWS services, see Services That Publish Metrics.
- okActions List<String>
- The actions to execute when this alarm transitions to the OKstate from any other state. Each action is specified as an Amazon Resource Name (ARN).
- period Number
- The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify Period, and instead you use theMetricsparameter. Minimum: 10
- statistic String
- The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic. For an alarm based on a metric, you must specify eitherStatisticorExtendedStatisticbut not both. For an alarm based on a math expression, you can't specifyStatistic. Instead, you useMetrics.
- List<Property Map>
- Property tags
- threshold Number
- The value to compare with the specified statistic.
- thresholdMetric StringId 
- In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BANDfunction used as the threshold for the alarm.
- treatMissing StringData 
- Sets how this alarm is to handle missing data points. Valid values are breaching,notBreaching,ignore, andmissing. For more information, see Configuring How Alarms Treat Missing Data in the Amazon User Guide. If you omit this parameter, the default behavior ofmissingis used.
- unit String
- The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a Metricsarray. You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
CloudWatchAlarmPropertiesResponse    
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Cloud Watch Alarm Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsCloud Watch Alarm Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsCloud Watch Alarm Properties Response 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- provisioningState string
- The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsCloud Watch Alarm Properties Response 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud stringResource Name 
- Public Cloud Resource Name
- provisioning_state str
- The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_account_ strid 
- AWS Account ID
- aws_properties AwsCloud Watch Alarm Properties Response 
- AWS Properties
- aws_region str
- AWS Region
- aws_source_ strschema 
- AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_cloud_ strconnectors_ resource_ id 
- Public Cloud Connectors Resource ID
- public_cloud_ strresource_ name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
DimensionResponse 
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
- key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value string
- Property value
- key str
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name str
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value str
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
MetricDataQueryResponse   
- AccountId string
- The ID of the account where the metrics are located, if this is a cross-account alarm.
- Expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the Idof the other metrics to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpressionorMetricStatbut not both.
- Id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
- Label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If Labelis omitted, CW generates a default.
- MetricStat Pulumi.Azure Native. Aws Connector. Inputs. Metric Stat Response 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either ExpressionorMetricStatbut not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStatis a property of the MetricDataQuery property type.
- Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDataoperation that includes aStorageResolution of 1 second.
- ReturnData bool
- This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify Truefor this value for only the one math expression that the alarm is based on. You must specifyFalseforReturnDatafor all the other metrics and expressions used in the alarm. This field is required.
- AccountId string
- The ID of the account where the metrics are located, if this is a cross-account alarm.
- Expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the Idof the other metrics to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpressionorMetricStatbut not both.
- Id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
- Label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If Labelis omitted, CW generates a default.
- MetricStat MetricStat Response 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either ExpressionorMetricStatbut not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStatis a property of the MetricDataQuery property type.
- Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDataoperation that includes aStorageResolution of 1 second.
- ReturnData bool
- This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify Truefor this value for only the one math expression that the alarm is based on. You must specifyFalseforReturnDatafor all the other metrics and expressions used in the alarm. This field is required.
- accountId String
- The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression String
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the Idof the other metrics to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpressionorMetricStatbut not both.
- id String
- A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
- label String
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If Labelis omitted, CW generates a default.
- metricStat MetricStat Response 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either ExpressionorMetricStatbut not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStatis a property of the MetricDataQuery property type.
- period Integer
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDataoperation that includes aStorageResolution of 1 second.
- returnData Boolean
- This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify Truefor this value for only the one math expression that the alarm is based on. You must specifyFalseforReturnDatafor all the other metrics and expressions used in the alarm. This field is required.
- accountId string
- The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression string
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the Idof the other metrics to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpressionorMetricStatbut not both.
- id string
- A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
- label string
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If Labelis omitted, CW generates a default.
- metricStat MetricStat Response 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either ExpressionorMetricStatbut not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStatis a property of the MetricDataQuery property type.
- period number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDataoperation that includes aStorageResolution of 1 second.
- returnData boolean
- This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify Truefor this value for only the one math expression that the alarm is based on. You must specifyFalseforReturnDatafor all the other metrics and expressions used in the alarm. This field is required.
- account_id str
- The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression str
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the Idof the other metrics to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpressionorMetricStatbut not both.
- id str
- A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
- label str
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If Labelis omitted, CW generates a default.
- metric_stat MetricStat Response 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either ExpressionorMetricStatbut not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStatis a property of the MetricDataQuery property type.
- period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDataoperation that includes aStorageResolution of 1 second.
- return_data bool
- This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify Truefor this value for only the one math expression that the alarm is based on. You must specifyFalseforReturnDatafor all the other metrics and expressions used in the alarm. This field is required.
- accountId String
- The ID of the account where the metrics are located, if this is a cross-account alarm.
- expression String
- The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the Idof the other metrics to refer to those metrics, and can also use theIdof other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the User Guide. Within each MetricDataQuery object, you must specify eitherExpressionorMetricStatbut not both.
- id String
- A short name used to tie this object to the results in the response. This name must be unique within a single call to GetMetricData. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
- label String
- A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If Labelis omitted, CW generates a default.
- metricStat Property Map
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Within one MetricDataQuery object, you must specify either ExpressionorMetricStatbut not both. This structure defines the metric to be returned, along with the statistics, period, and units.MetricStatis a property of the MetricDataQuery property type.
- period Number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDataoperation that includes aStorageResolution of 1 second.
- returnData Boolean
- This option indicates whether to return the timestamps and raw data values of this metric. When you create an alarm based on a metric math expression, specify Truefor this value for only the one math expression that the alarm is based on. You must specifyFalseforReturnDatafor all the other metrics and expressions used in the alarm. This field is required.
MetricResponse 
- Dimensions
List<Pulumi.Azure Native. Aws Connector. Inputs. Dimension Response> 
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- MetricName string
- The name of the metric that you want the alarm to watch. This is a required field.
- Namespace string
- The namespace of the metric that the alarm will watch.
- Dimensions
[]DimensionResponse 
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- MetricName string
- The name of the metric that you want the alarm to watch. This is a required field.
- Namespace string
- The namespace of the metric that the alarm will watch.
- dimensions
List<DimensionResponse> 
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metricName String
- The name of the metric that you want the alarm to watch. This is a required field.
- namespace String
- The namespace of the metric that the alarm will watch.
- dimensions
DimensionResponse[] 
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metricName string
- The name of the metric that you want the alarm to watch. This is a required field.
- namespace string
- The namespace of the metric that the alarm will watch.
- dimensions
Sequence[DimensionResponse] 
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metric_name str
- The name of the metric that you want the alarm to watch. This is a required field.
- namespace str
- The namespace of the metric that the alarm will watch.
- dimensions List<Property Map>
- The metric dimensions that you want to be used for the metric that the alarm will watch.
- metricName String
- The name of the metric that you want the alarm to watch. This is a required field.
- namespace String
- The namespace of the metric that the alarm will watch.
MetricStatResponse  
- Metric
Pulumi.Azure Native. Aws Connector. Inputs. Metric Response 
- The metric to return, including the metric name, namespace, and dimensions. The Metricproperty type represents a specific metric.Metricis a property of the MetricStat property type.
- Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDatacall that includes aStorageResolutionof 1 second. If theStartTimeparameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
- Stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- Unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- Metric
MetricResponse 
- The metric to return, including the metric name, namespace, and dimensions. The Metricproperty type represents a specific metric.Metricis a property of the MetricStat property type.
- Period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDatacall that includes aStorageResolutionof 1 second. If theStartTimeparameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
- Stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- Unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric
MetricResponse 
- The metric to return, including the metric name, namespace, and dimensions. The Metricproperty type represents a specific metric.Metricis a property of the MetricStat property type.
- period Integer
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDatacall that includes aStorageResolutionof 1 second. If theStartTimeparameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
- stat String
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit String
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric
MetricResponse 
- The metric to return, including the metric name, namespace, and dimensions. The Metricproperty type represents a specific metric.Metricis a property of the MetricStat property type.
- period number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDatacall that includes aStorageResolutionof 1 second. If theStartTimeparameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
- stat string
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit string
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric
MetricResponse 
- The metric to return, including the metric name, namespace, and dimensions. The Metricproperty type represents a specific metric.Metricis a property of the MetricStat property type.
- period int
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDatacall that includes aStorageResolutionof 1 second. If theStartTimeparameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
- stat str
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit str
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
- metric Property Map
- The metric to return, including the metric name, namespace, and dimensions. The Metricproperty type represents a specific metric.Metricis a property of the MetricStat property type.
- period Number
- The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricDatacall that includes aStorageResolutionof 1 second. If theStartTimeparameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).
- stat String
- The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in Statistics in the User Guide.
- unit String
- The unit to use for the returned data points. Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TagResponse 
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi