CfnBudgetsActionProps Struct
Properties for defining a CfnBudgetsAction.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_budgets as budgets } from 'aws-cdk-lib';
const cfnBudgetsActionProps: budgets.CfnBudgetsActionProps = {
actionThreshold: {
type: 'type',
value: 123,
},
actionType: 'actionType',
budgetName: 'budgetName',
definition: {
iamActionDefinition: {
policyArn: 'policyArn',
// the properties below are optional
groups: ['groups'],
roles: ['roles'],
users: ['users'],
},
scpActionDefinition: {
policyId: 'policyId',
targetIds: ['targetIds'],
},
ssmActionDefinition: {
instanceIds: ['instanceIds'],
region: 'region',
subtype: 'subtype',
},
},
executionRoleArn: 'executionRoleArn',
notificationType: 'notificationType',
subscribers: [{
address: 'address',
type: 'type',
}],
// the properties below are optional
approvalModel: 'approvalModel',
resourceTags: [{
key: 'key',
value: 'value',
}],
};
Properties
actionThresholdIResolvable | CfnBudgetsAction.ActionThresholdPropertyaction_thresholdtyping.Union[IResolvable, ActionThresholdProperty]actionThresholdIResolvableActionThresholdIResolvableActionThresholdinterface{}required#The trigger threshold of the action.
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.
approvalModeloptionalstringapproval_modeloptionalstrapprovalModeloptionalStringApprovalModeloptionalstringApprovalModeloptional*string#This specifies if the action needs manual or automatic approval.
A string that represents the budget name.
":" and "" characters aren't allowed.
definitionIResolvable | CfnBudgetsAction.DefinitionPropertydefinitiontyping.Union[IResolvable, DefinitionProperty]definitionIResolvableDefinitionIResolvableDefinitioninterface{}required#Specifies all of the type-specific parameters.
executionRoleArnstringexecution_role_arnstrexecutionRoleArnStringExecutionRoleArnstringExecutionRoleArn*stringrequired#The role passed for action execution and reversion.
Roles and actions must be in the same account.
notificationTypestringnotification_typestrnotificationTypeStringNotificationTypestringNotificationType*stringrequired#The type of a notification.
resourceTagsoptionalCfnBudgetsAction.ResourceTagProperty[]resource_tagsoptionaltyping.List[ResourceTagProperty]resourceTagsoptionalList<ResourceTagProperty>ResourceTagsoptionalResourceTagProperty[]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.
subscribersIResolvable | IResolvable | CfnBudgetsAction.SubscriberProperty[]subscriberstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SubscriberProperty]]]subscribersIResolvableSubscribersIResolvableSubscribersinterface{}required#A list of subscribers.