Interface CfnAnomalyMonitorProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnomalyMonitorProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.882Z") @Stability(Stable) public interface CfnAnomalyMonitorProps extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ce.*;
 CfnAnomalyMonitorProps cfnAnomalyMonitorProps = CfnAnomalyMonitorProps.builder()
         .monitorName("monitorName")
         .monitorType("monitorType")
         // the properties below are optional
         .monitorDimension("monitorDimension")
         .monitorSpecification("monitorSpecification")
         .resourceTags(List.of(ResourceTagProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getMonitorName

      @Stability(Stable) @NotNull String getMonitorName()
      The name of the monitor.
    • getMonitorType

      @Stability(Stable) @NotNull String getMonitorType()
      The possible type values.
    • getMonitorDimension

      @Stability(Stable) @Nullable default String getMonitorDimension()
      The dimensions to evaluate.
    • getMonitorSpecification

      @Stability(Stable) @Nullable default String getMonitorSpecification()
      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.

    • getResourceTags

      @Stability(Stable) @Nullable default Object getResourceTags()
      AWS::CE::AnomalyMonitor.ResourceTags.
    • builder

      @Stability(Stable) static CfnAnomalyMonitorProps.Builder builder()
      Returns:
      a CfnAnomalyMonitorProps.Builder of CfnAnomalyMonitorProps