CfnAnomalyMonitorProps
- class aws_cdk.aws_ce.CfnAnomalyMonitorProps(*, monitor_name, monitor_type, monitor_dimension=None, monitor_specification=None, resource_tags=None)
Bases:
objectProperties for defining a
CfnAnomalyMonitor.- Parameters:
monitor_name (
str) – The name of the monitor.monitor_type (
str) – The possible type values.monitor_dimension (
Optional[str]) – The dimensions to evaluate.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.resource_tags (
Union[IResolvable,Sequence[Union[ResourceTagProperty,Dict[str,Any],IResolvable]],None]) –AWS::CE::AnomalyMonitor.ResourceTags.
- Link:
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. import aws_cdk.aws_ce as ce cfn_anomaly_monitor_props = ce.CfnAnomalyMonitorProps( monitor_name="monitorName", monitor_type="monitorType", # the properties below are optional monitor_dimension="monitorDimension", monitor_specification="monitorSpecification", resource_tags=[ce.CfnAnomalyMonitor.ResourceTagProperty( key="key", value="value" )] )
Attributes
- monitor_dimension
The dimensions to evaluate.
- 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 possible type values.
- resource_tags
AWS::CE::AnomalyMonitor.ResourceTags.