Interface CfnBudgetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBudgetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:07.461Z")
@Stability(Stable)
public interface CfnBudgetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnBudget.
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.deadline.*;
CfnBudgetProps cfnBudgetProps = CfnBudgetProps.builder()
.actions(List.of(BudgetActionToAddProperty.builder()
.thresholdPercentage(123)
.type("type")
// the properties below are optional
.description("description")
.build()))
.approximateDollarLimit(123)
.displayName("displayName")
.farmId("farmId")
.schedule(BudgetScheduleProperty.builder()
.fixed(FixedBudgetScheduleProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build())
.build())
.usageTrackingResource(UsageTrackingResourceProperty.builder()
.queueId("queueId")
.build())
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBudgetPropsstatic final classAn implementation forCfnBudgetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnBudgetProps.Builderbuilder()The budget actions to specify what happens when the budget runs out.The dollar limit based on consumed usage.default StringThe description of the budget.The display name of the budget.The farm ID.The start and end time of the budget.getTags()An array of key-value pairs to apply to this resource.The usage details of the allotted budget.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The budget actions to specify what happens when the budget runs out.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBudget.BudgetActionToAddProperty>- See Also:
-
getApproximateDollarLimit
The dollar limit based on consumed usage.- See Also:
-
getDisplayName
The display name of the budget.- See Also:
-
getFarmId
The farm ID.- See Also:
-
getSchedule
The start and end time of the budget.Returns union: either
IResolvableorCfnBudget.BudgetScheduleProperty- See Also:
-
getUsageTrackingResource
The usage details of the allotted budget.Returns union: either
IResolvableorCfnBudget.UsageTrackingResourceProperty- See Also:
-
getDescription
The description of the budget.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnBudgetProps.BuilderofCfnBudgetProps
-