Interface CfnAnomalySubscriptionProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnAnomalySubscriptionProps.Jsii$Proxy
CfnAnomalySubscription.
 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.*;
 CfnAnomalySubscriptionProps cfnAnomalySubscriptionProps = CfnAnomalySubscriptionProps.builder()
         .frequency("frequency")
         .monitorArnList(List.of("monitorArnList"))
         .subscribers(List.of(SubscriberProperty.builder()
                 .address("address")
                 .type("type")
                 // the properties below are optional
                 .status("status")
                 .build()))
         .subscriptionName("subscriptionName")
         // the properties below are optional
         .resourceTags(List.of(ResourceTagProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .threshold(123)
         .thresholdExpression("thresholdExpression")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnomalySubscriptionPropsstatic final classAn implementation forCfnAnomalySubscriptionProps
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The frequency that anomaly notifications are sent.A list of cost anomaly monitors.Tags to assign to subscription.A list of subscribers to notify.The name for the subscription.default Number(deprecated).default StringAn Expression object in JSON string format used to specify the anomalies that you want to generate alerts for.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getFrequencyThe 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 . - See Also:
 
- 
getMonitorArnListA list of cost anomaly monitors.- See Also:
 
- 
getSubscribersA list of subscribers to notify.Returns union: either IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAnomalySubscription.SubscriberProperty>- See Also:
 
- 
getSubscriptionNameThe name for the subscription.- See Also:
 
- 
getResourceTags@Stability(Stable) @Nullable default List<CfnAnomalySubscription.ResourceTagProperty> getResourceTags()Tags to assign to subscription.- See Also:
 
- 
getThreshold(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.- See Also:
 
- 
getThresholdExpressionAn 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 areANOMALY_TOTAL_IMPACT_ABSOLUTEandANOMALY_TOTAL_IMPACT_PERCENTAGE, corresponding to an anomaly’s TotalImpact and TotalImpactPercentage, respectively (see Impact for more details). The supported nested expression types areANDandOR. The match optionGREATER_THAN_OR_EQUALis 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. - See Also:
 
- 
builder
 
-