AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Budgets::Budget

CfnBudget

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](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/budgets-managing-costs.html) in the *Billing and Cost Management User Guide* .

Import

import { CfnBudget } from 'aws-cdk-lib/aws-budgets';

Or use the module namespace:

import * as budgets from 'aws-cdk-lib/aws-budgets';
// budgets.CfnBudget

Properties

Configuration passed to the constructor as CfnBudgetProps.

budgetRequired
IResolvable | BudgetDataProperty

The budget object that you want to create.

notificationsWithSubscribersOptional
IResolvable | IResolvable | NotificationWithSubscribersProperty[]

A notification that you want to associate with a budget. 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.

resourceTagsOptional
IResolvable | IResolvable | ResourceTagProperty[]

An optional list of tags to associate with the specified budget. Each tag consists of a key and a value, and each key must be unique for the resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-budgets
CFN TypeAWS::Budgets::Budget
Properties3

Related Constructs

External Links