interface CfnAnomalyMonitorProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CE.CfnAnomalyMonitorProps |
Java | software.amazon.awscdk.services.ce.CfnAnomalyMonitorProps |
Python | aws_cdk.aws_ce.CfnAnomalyMonitorProps |
TypeScript | @aws-cdk/aws-ce » CfnAnomalyMonitorProps |
Properties for defining a CfnAnomalyMonitor.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ce from '@aws-cdk/aws-ce';
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 | Resource | IResolvable[] | AWS::CE::AnomalyMonitor.ResourceTags. |
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 | Resource | IResolvable[]
(optional)
AWS::CE::AnomalyMonitor.ResourceTags.

.NET
Java
Python
TypeScript