@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.943Z") @Stability(value=Stable) public interface CfnBudgetProps 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.budgets.*;
Object costFilters;
Object plannedBudgetLimits;
CfnBudgetProps cfnBudgetProps = CfnBudgetProps.builder()
.budget(BudgetDataProperty.builder()
.budgetType("budgetType")
.timeUnit("timeUnit")
// the properties below are optional
.budgetLimit(SpendProperty.builder()
.amount(123)
.unit("unit")
.build())
.budgetName("budgetName")
.costFilters(costFilters)
.costTypes(CostTypesProperty.builder()
.includeCredit(false)
.includeDiscount(false)
.includeOtherSubscription(false)
.includeRecurring(false)
.includeRefund(false)
.includeSubscription(false)
.includeSupport(false)
.includeTax(false)
.includeUpfront(false)
.useAmortized(false)
.useBlended(false)
.build())
.plannedBudgetLimits(plannedBudgetLimits)
.timePeriod(TimePeriodProperty.builder()
.end("end")
.start("start")
.build())
.build())
// the properties below are optional
.notificationsWithSubscribers(List.of(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()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBudgetProps.Builder
A builder for
CfnBudgetProps |
static class |
CfnBudgetProps.Jsii$Proxy
An implementation for
CfnBudgetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBudgetProps.Builder |
builder() |
Object |
getBudget()
The budget object that you want to create.
|
default Object |
getNotificationsWithSubscribers()
A notification that you want to associate with a budget.
|
@Stability(value=Stable) @NotNull Object getBudget()
@Stability(value=Stable) @Nullable default Object getNotificationsWithSubscribers()
A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your CreateBudget call, AWS creates the notifications and subscribers for you.
@Stability(value=Stable) static CfnBudgetProps.Builder builder()
CfnBudgetProps.Builder of CfnBudgetPropsCopyright © 2022. All rights reserved.