CfnAnomalyMonitorMixinProps
- class aws_cdk.mixins_preview.aws_ce.mixins.CfnAnomalyMonitorMixinProps(*, monitor_dimension=None, monitor_name=None, monitor_specification=None, monitor_type=None, resource_tags=None)
Bases:
objectProperties for CfnAnomalyMonitorPropsMixin.
- Parameters:
monitor_dimension (
Optional[str]) – 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. ForTAGandCOST_CATEGORYdimensions, you must also specify MonitorSpecification to configure the specific tag or cost category key to analyze.monitor_name (
Optional[str]) – The name of the monitor.monitor_specification (
Optional[str]) – The array ofMonitorSpecificationin JSON array format. For instance, you can useMonitorSpecificationto specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.monitor_type (
Optional[str]) – The type of the monitor. Set this toDIMENSIONALfor 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 toCUSTOMfor 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 .resource_tags (
Optional[Sequence[Union[ResourceTagProperty,Dict[str,Any]]]]) – Tags to assign to monitor.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ce import mixins as ce_mixins cfn_anomaly_monitor_mixin_props = ce_mixins.CfnAnomalyMonitorMixinProps( monitor_dimension="monitorDimension", monitor_name="monitorName", monitor_specification="monitorSpecification", monitor_type="monitorType", resource_tags=[ce_mixins.CfnAnomalyMonitorPropsMixin.ResourceTagProperty( key="key", value="value" )] )
Attributes
- monitor_dimension
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.
- monitor_name
The name of the monitor.
- monitor_specification
The array of
MonitorSpecificationin 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.
- monitor_type
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 .
- resource_tags
Tags to assign to monitor.