interface CfnAnomalyMonitorMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CE.Mixins.CfnAnomalyMonitorMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsce/mixins#CfnAnomalyMonitorMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ce.mixins.CfnAnomalyMonitorMixinProps |
Python | aws_cdk.mixins_preview.aws_ce.mixins.CfnAnomalyMonitorMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ce » mixins » CfnAnomalyMonitorMixinProps |
Properties for CfnAnomalyMonitorPropsMixin.
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 { mixins as ce_mixins } from '@aws-cdk/mixins-preview/aws-ce';
const cfnAnomalyMonitorMixinProps: ce_mixins.CfnAnomalyMonitorMixinProps = {
monitorDimension: 'monitorDimension',
monitorName: 'monitorName',
monitorSpecification: 'monitorSpecification',
monitorType: 'monitorType',
resourceTags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| monitor | string | For customer managed monitors, do not specify this field. |
| monitor | string | The name of the monitor. |
| monitor | string | The array of MonitorSpecification in JSON array format. |
| monitor | string | The type of the monitor. |
| resource | Resource[] | Tags to assign to monitor. |
monitorDimension?
Type:
string
(optional)
For customer managed monitors, do not specify this field.
For AWS managed monitors, this field controls which cost dimension is automatically analyzed by the monitor. For TAG and COST_CATEGORY dimensions, you must also specify MonitorSpecification to configure the specific tag or cost category key to analyze.
monitorName?
Type:
string
(optional)
The name of the monitor.
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.
monitorType?
Type:
string
(optional)
The type of the monitor.
Set this to DIMENSIONAL for an AWS managed monitor. AWS managed monitors automatically track up to the top 5,000 values by cost within a dimension of your choosing. Each dimension value is evaluated independently. If you start incurring cost in a new value of your chosen dimension, it will automatically be analyzed by an AWS managed monitor.
Set this to CUSTOM for a customer managed monitor. Customer managed monitors let you select specific dimension values that get monitored in aggregate.
For more information about monitor types, see Monitor types in the Billing and Cost Management User Guide .
resourceTags?
Type:
Resource[]
(optional)
Tags to assign to monitor.

.NET
Go
Java
Python
TypeScript