Class CfnAnomalyMonitor
The AWS::CE::AnomalyMonitor
resource is a Cost Explorer resource type that continuously inspects your account's cost data for anomalies, based on MonitorType
and MonitorSpecification
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CE
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAnomalyMonitor : CfnResource, IInspectable
Syntax (vb)
Public Class CfnAnomalyMonitor
Inherits CfnResource
Implements IInspectable
Remarks
The content consists of detailed metadata and the current status of the monitor object.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html
CloudformationResource: AWS::CE::AnomalyMonitor
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 cfnAnomalyMonitor = new CfnAnomalyMonitor(this, "MyCfnAnomalyMonitor", 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
CfnAnomalyMonitor(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAnomalyMonitor(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnAnomalyMonitor(Construct, String, ICfnAnomalyMonitorProps) |
Properties
AttrCreationDate | The date when the monitor was created. |
AttrDimensionalValueCount | The value for evaluated dimensions. |
AttrLastEvaluatedDate | The date when the monitor last evaluated for anomalies. |
AttrLastUpdatedDate | The date when the monitor was last updated. |
AttrMonitorArn | The Amazon Resource Name (ARN) value for the monitor. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
MonitorDimension | The dimensions to evaluate. |
MonitorName | The name of the monitor. |
MonitorSpecification | The array of |
MonitorType | The possible type values. |
ResourceTags | Tags to assign to monitor. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAnomalyMonitor(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAnomalyMonitor(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAnomalyMonitor(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAnomalyMonitor(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnAnomalyMonitor(Construct, String, ICfnAnomalyMonitorProps)
public CfnAnomalyMonitor(Construct scope, string id, ICfnAnomalyMonitorProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnAnomalyMonitorProps
Resource properties.
Properties
AttrCreationDate
The date when the monitor was created.
public virtual string AttrCreationDate { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationDate
AttrDimensionalValueCount
The value for evaluated dimensions.
public virtual double AttrDimensionalValueCount { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: DimensionalValueCount
AttrLastEvaluatedDate
The date when the monitor last evaluated for anomalies.
public virtual string AttrLastEvaluatedDate { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastEvaluatedDate
AttrLastUpdatedDate
The date when the monitor was last updated.
public virtual string AttrLastUpdatedDate { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastUpdatedDate
AttrMonitorArn
The Amazon Resource Name (ARN) value for the monitor.
public virtual string AttrMonitorArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: MonitorArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
MonitorDimension
The dimensions to evaluate.
public virtual string MonitorDimension { get; set; }
Property Value
System.String
MonitorName
The name of the monitor.
public virtual string MonitorName { get; set; }
Property Value
System.String
MonitorSpecification
The array of MonitorSpecification
in JSON array format.
public virtual string MonitorSpecification { get; set; }
Property Value
System.String
MonitorType
The possible type values.
public virtual string MonitorType { get; set; }
Property Value
System.String
ResourceTags
Tags to assign to monitor.
public virtual object ResourceTags { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>