ProcessProperty Struct
A process to be monitored for the component.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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-lib';
const processProperty: applicationinsights.CfnApplication.ProcessProperty = {
alarmMetrics: [{
alarmMetricName: 'alarmMetricName',
}],
processName: 'processName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_applicationinsights as applicationinsights
process_property = applicationinsights.CfnApplication.ProcessProperty(
alarm_metrics=[applicationinsights.CfnApplication.AlarmMetricProperty(
alarm_metric_name="alarmMetricName"
)],
process_name="processName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationinsights.*;
ProcessProperty processProperty = ProcessProperty.builder()
.alarmMetrics(List.of(AlarmMetricProperty.builder()
.alarmMetricName("alarmMetricName")
.build()))
.processName("processName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationInsights;
var processProperty = new ProcessProperty {
AlarmMetrics = new [] { new AlarmMetricProperty {
AlarmMetricName = "alarmMetricName"
} },
ProcessName = "processName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
processProperty := &ProcessProperty{
AlarmMetrics: []interface{}{
&AlarmMetricProperty{
AlarmMetricName: jsii.String("alarmMetricName"),
},
},
ProcessName: jsii.String("processName"),
}
Properties
alarmMetricsIResolvable | IResolvable | CfnApplication.alarm_metricstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AlarmMetricProperty]]]alarmMetricsIResolvableAlarmMetricsIResolvableAlarmMetricsinterface{} required #A list of metrics to monitor for the component.
The name of the process to be monitored for the component.