Interface CfnAnomalyMonitorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnomalyMonitorProps.Jsii$Proxy
CfnAnomalyMonitor.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ce.*;
CfnAnomalyMonitorProps cfnAnomalyMonitorProps = CfnAnomalyMonitorProps.builder()
.monitorName("monitorName")
.monitorType("monitorType")
// the properties below are optional
.monitorDimension("monitorDimension")
.monitorSpecification("monitorSpecification")
.resourceTags(List.of(ResourceTagProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnomalyMonitorPropsstatic final classAn implementation forCfnAnomalyMonitorProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMonitorName
The name of the monitor.- See Also:
-
getMonitorType
The type of the monitor.Set this to
DIMENSIONALfor 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
CUSTOMfor 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 .
- See Also:
-
getMonitorDimension
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
TAGandCOST_CATEGORYdimensions, you must also specify MonitorSpecification to configure the specific tag or cost category key to analyze.- See Also:
-
getMonitorSpecification
The array ofMonitorSpecificationin JSON array format.For instance, you can use
MonitorSpecificationto specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.- See Also:
-
getResourceTags
Tags to assign to monitor.- See Also:
-
builder
- Returns:
- a
CfnAnomalyMonitorProps.BuilderofCfnAnomalyMonitorProps
-