interface CfnAnomalyMonitorProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CE.CfnAnomalyMonitorProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsce#CfnAnomalyMonitorProps |
![]() | software.amazon.awscdk.services.ce.CfnAnomalyMonitorProps |
![]() | aws_cdk.aws_ce.CfnAnomalyMonitorProps |
![]() | aws-cdk-lib » aws_ce » CfnAnomalyMonitorProps |
Properties for defining a CfnAnomalyMonitor
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ce as ce } from 'aws-cdk-lib';
const cfnAnomalyMonitorProps: ce.CfnAnomalyMonitorProps = {
monitorName: 'monitorName',
monitorType: 'monitorType',
// the properties below are optional
monitorDimension: 'monitorDimension',
monitorSpecification: 'monitorSpecification',
resourceTags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
monitor | string | The name of the monitor. |
monitor | string | The possible type values. |
monitor | string | The dimensions to evaluate. |
monitor | string | The array of MonitorSpecification in JSON array format. |
resource | IResolvable | IResolvable | Resource [] | Tags to assign to monitor. |
monitorName
Type:
string
The name of the monitor.
monitorType
Type:
string
The possible type values.
monitorDimension?
Type:
string
(optional)
The dimensions to evaluate.
monitorSpecification?
Type:
string
(optional)
The array of MonitorSpecification
in JSON array format.
For instance, you can use MonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.
resourceTags?
Type:
IResolvable
|
IResolvable
|
Resource
[]
(optional)
Tags to assign to monitor.