Class CfnBudgetPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.770Z")
@Stability(Stable)
public class CfnBudgetPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::Budgets::Budget resource allows customers to take pre-defined actions that will trigger once a budget threshold has been exceeded.
creates, replaces, or deletes budgets for Billing and Cost Management. For more information, see Managing Your Costs with Budgets in the Billing and Cost Management User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.budgets.*;
import software.amazon.awscdk.*;
Object costFilters;
ExpressionProperty expressionProperty_;
IMergeStrategy mergeStrategy;
Object plannedBudgetLimits;
CfnBudgetPropsMixin cfnBudgetPropsMixin = CfnBudgetPropsMixin.Builder.create(CfnBudgetMixinProps.builder()
.budget(BudgetDataProperty.builder()
.autoAdjustData(AutoAdjustDataProperty.builder()
.autoAdjustType("autoAdjustType")
.historicalOptions(HistoricalOptionsProperty.builder()
.budgetAdjustmentPeriod(123)
.build())
.build())
.billingViewArn("billingViewArn")
.budgetLimit(SpendProperty.builder()
.amount(123)
.unit("unit")
.build())
.budgetName("budgetName")
.budgetType("budgetType")
.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())
.filterExpression(ExpressionProperty.builder()
.and(List.of(expressionProperty_))
.costCategories(CostCategoryValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.dimensions(ExpressionDimensionValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.not(expressionProperty_)
.or(List.of(expressionProperty_))
.tags(TagValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.build())
.metrics(List.of("metrics"))
.plannedBudgetLimits(plannedBudgetLimits)
.timePeriod(TimePeriodProperty.builder()
.end("end")
.start("start")
.build())
.timeUnit("timeUnit")
.build())
.notificationsWithSubscribers(List.of(NotificationWithSubscribersProperty.builder()
.notification(NotificationProperty.builder()
.comparisonOperator("comparisonOperator")
.notificationType("notificationType")
.threshold(123)
.thresholdType("thresholdType")
.build())
.subscribers(List.of(SubscriberProperty.builder()
.address("address")
.subscriptionType("subscriptionType")
.build()))
.build()))
.resourceTags(List.of(ResourceTagProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDetermine the budget amount for an auto-adjusting budget.static interfaceRepresents the output of theCreateBudgetoperation.static final classA fluent builder forCfnBudgetPropsMixin.static interfaceThe cost category values used for filtering the costs.static interfaceThe types of cost that are included in aCOSTbudget, such as tax and subscriptions.static interfaceContains the specifications for the filters to use for your request.static interfaceUse Expression to filter in various Budgets APIs.static interfaceThe parameters that define or describe the historical data that your auto-adjusting budget is based on.static interfaceA notification that's associated with a budget.static interfaceA notification with subscribers.static interfaceThe tag structure that contains a tag key and value.static interfaceThe amount of cost or usage that's measured for a budget.static interfaceTheSubscriberproperty type specifies who to notify for a Billing and Cost Management budget notification.static interfaceThe values that are available for a tag.static interfaceThe period of time that is covered by a budget.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Budgets::Budget.CfnBudgetPropsMixin(CfnBudgetMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Budgets::Budget.protectedCfnBudgetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBudgetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnBudgetMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnBudgetPropsMixin
protected CfnBudgetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBudgetPropsMixin
protected CfnBudgetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBudgetPropsMixin
@Stability(Stable) public CfnBudgetPropsMixin(@NotNull CfnBudgetMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Budgets::Budget.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnBudgetPropsMixin
Create a mixin to apply properties toAWS::Budgets::Budget.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-