CfnAnomalyMonitorProps

class aws_cdk.aws_ce.CfnAnomalyMonitorProps(*, monitor_name, monitor_type, monitor_dimension=None, monitor_specification=None, resource_tags=None)

Bases: object

Properties 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 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.

  • resource_tags (Union[IResolvable, Sequence[Union[IResolvable, ResourceTagProperty, Dict[str, Any]]], None]) – 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 import 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitordimension

monitor_name

The name of the monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitorname

monitor_specification

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitorspecification

monitor_type

The possible type values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitortype

resource_tags

Tags to assign to monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-resourcetags