AWS::Budgets::BudgetsAction
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
in the Amazon Billing and Cost Management User Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Budgets::BudgetsAction", "Properties" : { "ActionThreshold" :ActionThreshold, "ActionType" :String, "ApprovalModel" :String, "BudgetName" :String, "Definition" :Definition, "ExecutionRoleArn" :String, "NotificationType" :String, "Subscribers" :[ Subscriber, ... ]} }
YAML
Type: AWS::Budgets::BudgetsAction Properties: ActionThreshold:ActionThresholdActionType:StringApprovalModel:StringBudgetName:StringDefinition:DefinitionExecutionRoleArn:StringNotificationType:StringSubscribers:- Subscriber
Properties
ActionThresholdThe trigger threshold of the action.
Required: Yes
Type: ActionThreshold
Update requires: No interruption
ActionTypeThe 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.
Required: Yes
Type: String
Allowed values:
APPLY_IAM_POLICY | APPLY_SCP_POLICY | RUN_SSM_DOCUMENTSUpdate requires: Replacement
ApprovalModelThis specifies if the action needs manual or automatic approval.
Required: No
Type: String
Allowed values:
AUTOMATIC | MANUALUpdate requires: No interruption
BudgetNameA string that represents the budget name. ":" and "\" characters aren't allowed.
Required: Yes
Type: String
Update requires: Replacement
DefinitionSpecifies all of the type-specific parameters.
Required: Yes
Type: Definition
Update requires: No interruption
ExecutionRoleArnThe role passed for action execution and reversion. Roles and actions must be in the same account.
Required: Yes
Type: String
Minimum:
32Maximum:
618Pattern:
^arn:(aws|aws-cn|aws-us-gov|us-iso-east-1|us-isob-east-1):iam::\d{12}:role(\u002F[\u0021-\u007F]+\u002F|\u002F)[\w+=,.@-]+$Update requires: No interruption
NotificationTypeThe type of a notification.
Required: Yes
Type: String
Allowed values:
ACTUAL | FORECASTEDUpdate requires: No interruption
SubscribersA list of subscribers.
Required: Yes
Type: List of Subscriber
Update requires: No interruption