@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.234Z") @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()
`AWS::Budgets::Budget.Budget`.
|
default Object |
getNotificationsWithSubscribers()
`AWS::Budgets::Budget.NotificationsWithSubscribers`.
|
@Stability(value=Stable) @NotNull Object getBudget()
@Stability(value=Stable) @Nullable default Object getNotificationsWithSubscribers()
@Stability(value=Stable) static CfnBudgetProps.Builder builder()
CfnBudgetProps.Builder of CfnBudgetPropsCopyright © 2021. All rights reserved.