Class CfnAnomalySubscriptionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ce.CfnAnomalySubscriptionProps.Jsii$Proxy
All Implemented Interfaces:
CfnAnomalySubscriptionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnAnomalySubscriptionProps

@Stability(Stable) @Internal public static final class CfnAnomalySubscriptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAnomalySubscriptionProps
An implementation for CfnAnomalySubscriptionProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnAnomalySubscriptionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnAnomalySubscriptionProps.Builder.
  • Method Details

    • getFrequency

      public final String getFrequency()
      Description copied from interface: CfnAnomalySubscriptionProps
      The frequency that anomaly notifications are sent.

      Notifications are sent either over email (for DAILY and WEEKLY frequencies) or SNS (for IMMEDIATE frequency). For more information, see Creating an Amazon SNS topic for anomaly notifications .

      Specified by:
      getFrequency in interface CfnAnomalySubscriptionProps
    • getMonitorArnList

      public final List<String> getMonitorArnList()
      Description copied from interface: CfnAnomalySubscriptionProps
      A list of cost anomaly monitors.
      Specified by:
      getMonitorArnList in interface CfnAnomalySubscriptionProps
    • getSubscribers

      public final Object getSubscribers()
      Description copied from interface: CfnAnomalySubscriptionProps
      A list of subscribers to notify.
      Specified by:
      getSubscribers in interface CfnAnomalySubscriptionProps
    • getSubscriptionName

      public final String getSubscriptionName()
      Description copied from interface: CfnAnomalySubscriptionProps
      The name for the subscription.
      Specified by:
      getSubscriptionName in interface CfnAnomalySubscriptionProps
    • getResourceTags

      public final Object getResourceTags()
      Description copied from interface: CfnAnomalySubscriptionProps
      AWS::CE::AnomalySubscription.ResourceTags.
      Specified by:
      getResourceTags in interface CfnAnomalySubscriptionProps
    • getThreshold

      public final Number getThreshold()
      Description copied from interface: CfnAnomalySubscriptionProps
      (deprecated).

      An absolute dollar value that must be exceeded by the anomaly's total impact (see Impact for more details) for an anomaly notification to be generated.

      This field has been deprecated. To specify a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.

      One of Threshold or ThresholdExpression is required for AWS::CE::AnomalySubscription . You cannot specify both.

      Specified by:
      getThreshold in interface CfnAnomalySubscriptionProps
    • getThresholdExpression

      public final String getThresholdExpression()
      Description copied from interface: CfnAnomalySubscriptionProps
      An Expression object in JSON string format used to specify the anomalies that you want to generate alerts for. This supports dimensions and nested expressions. The supported dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE , corresponding to an anomaly’s TotalImpact and TotalImpactPercentage, respectively (see Impact for more details). The supported nested expression types are AND and OR . The match option GREATER_THAN_OR_EQUAL is required. Values must be numbers between 0 and 10,000,000,000 in string format.

      One of Threshold or ThresholdExpression is required for AWS::CE::AnomalySubscription . You cannot specify both.

      For further information, see the Examples section of this page.

      Specified by:
      getThresholdExpression in interface CfnAnomalySubscriptionProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object