interface AlarmMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApplicationInsights.CfnApplicationPropsMixin.AlarmMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapplicationinsights#CfnApplicationPropsMixin_AlarmMetricProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.applicationinsights.CfnApplicationPropsMixin.AlarmMetricProperty |
Python | aws_cdk.cfn_property_mixins.aws_applicationinsights.CfnApplicationPropsMixin.AlarmMetricProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_applicationinsights » CfnApplicationPropsMixin » AlarmMetricProperty |
The AWS::ApplicationInsights::Application AlarmMetric property type defines a metric to monitor for the component.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationinsights as applicationinsights } from '@aws-cdk/cfn-property-mixins';
const alarmMetricProperty: applicationinsights.CfnApplicationPropsMixin.AlarmMetricProperty = {
alarmMetricName: 'alarmMetricName',
};
Properties
| Name | Type | Description |
|---|---|---|
| alarm | string | The name of the metric to be monitored for the component. |
alarmMetricName?
Type:
string
(optional)
The name of the metric to be monitored for the component.
For metrics supported by Application Insights, see Logs and metrics supported by Amazon CloudWatch Application Insights .

.NET
Go
Java
Python
TypeScript