Show / Hide Table of Contents

Class CfnAnomalyMonitorProps

Properties for defining a CfnAnomalyMonitor.

Inheritance
object
CfnAnomalyMonitorProps
Implements
ICfnAnomalyMonitorProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAnomalyMonitorProps : ICfnAnomalyMonitorProps
Syntax (vb)
Public Class CfnAnomalyMonitorProps Implements ICfnAnomalyMonitorProps
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CE;

             var cfnAnomalyMonitorProps = new CfnAnomalyMonitorProps {
                 MonitorName = "monitorName",
                 MonitorType = "monitorType",

                 // the properties below are optional
                 MonitorDimension = "monitorDimension",
                 MonitorSpecification = "monitorSpecification",
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnAnomalyMonitorProps()

Properties for defining a CfnAnomalyMonitor.

Properties

MonitorDimension

For customer managed monitors, do not specify this field.

MonitorName

The name of the monitor.

MonitorSpecification

The array of MonitorSpecification in JSON array format.

MonitorType

The type of the monitor.

ResourceTags

Tags to assign to monitor.

Constructors

CfnAnomalyMonitorProps()

Properties for defining a CfnAnomalyMonitor.

public CfnAnomalyMonitorProps()
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CE;

             var cfnAnomalyMonitorProps = new CfnAnomalyMonitorProps {
                 MonitorName = "monitorName",
                 MonitorType = "monitorType",

                 // the properties below are optional
                 MonitorDimension = "monitorDimension",
                 MonitorSpecification = "monitorSpecification",
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

MonitorDimension

For customer managed monitors, do not specify this field.

public string? MonitorDimension { get; set; }
Property Value

string

Remarks

For AWS managed monitors, this field controls which cost dimension is automatically analyzed by the monitor. For TAG and COST_CATEGORY dimensions, you must also specify MonitorSpecification to configure the specific tag or cost category key to analyze.

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

MonitorName

The name of the monitor.

public string MonitorName { get; set; }
Property Value

string

Remarks

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

MonitorSpecification

The array of MonitorSpecification in JSON array format.

public string? MonitorSpecification { get; set; }
Property Value

string

Remarks

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

MonitorType

The type of the monitor.

public string MonitorType { get; set; }
Property Value

string

Remarks

Set this to DIMENSIONAL for 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 CUSTOM for 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitortype

ResourceTags

Tags to assign to monitor.

public CfnAnomalyMonitor.IResourceTagProperty[]? ResourceTags { get; set; }
Property Value

IResourceTagProperty[]

Remarks

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

Implements

ICfnAnomalyMonitorProps
Back to top Generated by DocFX