aws-cdk-lib.aws_ce.CfnAnomalyMonitorProps

interface CfnAnomalyMonitorProps

LanguageType name
.NETAmazon.CDK.AWS.CE.CfnAnomalyMonitorProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsce#CfnAnomalyMonitorProps
Javasoftware.amazon.awscdk.services.ce.CfnAnomalyMonitorProps
Pythonaws_cdk.aws_ce.CfnAnomalyMonitorProps
TypeScript aws-cdk-lib » aws_ce » CfnAnomalyMonitorProps

Properties for defining a CfnAnomalyMonitor.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ce as ce } from 'aws-cdk-lib';
const cfnAnomalyMonitorProps: ce.CfnAnomalyMonitorProps = {
  monitorName: 'monitorName',
  monitorType: 'monitorType',

  // the properties below are optional
  monitorDimension: 'monitorDimension',
  monitorSpecification: 'monitorSpecification',
  resourceTags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
monitorNamestringThe name of the monitor.
monitorTypestringThe possible type values.
monitorDimension?stringThe dimensions to evaluate.
monitorSpecification?stringThe array of MonitorSpecification in JSON array format.
resourceTags?IResolvable | IResolvable | ResourceTagProperty[]AWS::CE::AnomalyMonitor.ResourceTags.

monitorName

Type: string

The name of the monitor.


monitorType

Type: string

The possible type values.


monitorDimension?

Type: string (optional)

The dimensions to evaluate.


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.


resourceTags?

Type: IResolvable | IResolvable | ResourceTagProperty[] (optional)

AWS::CE::AnomalyMonitor.ResourceTags.