@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.958Z") @Stability(value=Stable) public interface CfnAnomalySubscriptionProps extends software.amazon.jsii.JsiiSerializable
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")
.threshold(123)
// the properties below are optional
.resourceTags(List.of(ResourceTagProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalySubscriptionProps.Builder
A builder for
CfnAnomalySubscriptionProps |
static class |
CfnAnomalySubscriptionProps.Jsii$Proxy
An implementation for
CfnAnomalySubscriptionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalySubscriptionProps.Builder |
builder() |
String |
getFrequency()
The frequency that anomaly reports are sent over email.
|
List<String> |
getMonitorArnList()
A list of cost anomaly monitors.
|
default Object |
getResourceTags()
`AWS::CE::AnomalySubscription.ResourceTags`.
|
Object |
getSubscribers()
A list of subscribers to notify.
|
String |
getSubscriptionName()
The name for the subscription.
|
Number |
getThreshold()
The dollar value that triggers a notification if the threshold is exceeded.
|
@Stability(value=Stable) @NotNull String getFrequency()
@Stability(value=Stable) @NotNull List<String> getMonitorArnList()
@Stability(value=Stable) @NotNull Object getSubscribers()
@Stability(value=Stable) @NotNull String getSubscriptionName()
@Stability(value=Stable) @NotNull Number getThreshold()
@Stability(value=Stable) @Nullable default Object getResourceTags()
@Stability(value=Stable) static CfnAnomalySubscriptionProps.Builder builder()
Copyright © 2022. All rights reserved.