AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Budgets::BudgetsAction

CfnBudgetsAction

The `AWS::Budgets::BudgetsAction` resource enables you to take predefined actions that are initiated when a budget threshold has been exceeded. 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 { CfnBudgetsAction } from 'aws-cdk-lib/aws-budgets';

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnBudgetsActionProps.

actionThresholdRequired
IResolvable | ActionThresholdProperty

The trigger threshold of the action.

actionTypeRequired
string

The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.

budgetNameRequired
string

A string that represents the budget name. ":" and "\" characters aren't allowed.

definitionRequired
IResolvable | DefinitionProperty

Specifies all of the type-specific parameters.

executionRoleArnRequired
string

The role passed for action execution and reversion. Roles and actions must be in the same account.

notificationTypeRequired
string

The type of a notification.

subscribersRequired
IResolvable | IResolvable | SubscriberProperty[]

A list of subscribers.

approvalModelOptional
string

This specifies if the action needs manual or automatic approval.

resourceTagsOptional
ResourceTagProperty[]

An optional list of tags to associate with the specified budget action. 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::BudgetsAction
Properties9

Related Constructs

External Links