Interface CfnBudget.NotificationWithSubscribersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBudget.NotificationWithSubscribersProperty.Jsii$Proxy
- Enclosing class:
CfnBudget
@Stability(Stable)
public static interface CfnBudget.NotificationWithSubscribersProperty
extends software.amazon.jsii.JsiiSerializable
A notification with subscribers.
A notification can have one SNS subscriber and up to 10 email subscribers, for a total of 11 subscribers.
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.budgets.*;
NotificationWithSubscribersProperty notificationWithSubscribersProperty = NotificationWithSubscribersProperty.builder()
.notification(NotificationProperty.builder()
.comparisonOperator("comparisonOperator")
.notificationType("notificationType")
.threshold(123)
// the properties below are optional
.thresholdType("thresholdType")
.build())
.subscribers(List.of(SubscriberProperty.builder()
.address("address")
.subscriptionType("subscriptionType")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBudget.NotificationWithSubscribersPropertystatic final classAn implementation forCfnBudget.NotificationWithSubscribersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The notification that's associated with a budget.A list of subscribers who are subscribed to this notification.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNotification
The notification that's associated with a budget.Returns union: either
IResolvableorCfnBudget.NotificationProperty- See Also:
-
getSubscribers
A list of subscribers who are subscribed to this notification.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBudget.SubscriberProperty>- See Also:
-
builder
-