We recommend new projects start with resources from the AWS provider.
aws-native.budgets.BudgetsAction
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
An example resource schema demonstrating some basic constructs and validation rules.
Create BudgetsAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BudgetsAction(name: string, args: BudgetsActionArgs, opts?: CustomResourceOptions);@overload
def BudgetsAction(resource_name: str,
                  args: BudgetsActionArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def BudgetsAction(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  action_threshold: Optional[BudgetsActionActionThresholdArgs] = None,
                  action_type: Optional[BudgetsActionActionType] = None,
                  budget_name: Optional[str] = None,
                  definition: Optional[BudgetsActionDefinitionArgs] = None,
                  execution_role_arn: Optional[str] = None,
                  notification_type: Optional[BudgetsActionNotificationType] = None,
                  subscribers: Optional[Sequence[BudgetsActionSubscriberArgs]] = None,
                  approval_model: Optional[BudgetsActionApprovalModel] = None,
                  resource_tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewBudgetsAction(ctx *Context, name string, args BudgetsActionArgs, opts ...ResourceOption) (*BudgetsAction, error)public BudgetsAction(string name, BudgetsActionArgs args, CustomResourceOptions? opts = null)
public BudgetsAction(String name, BudgetsActionArgs args)
public BudgetsAction(String name, BudgetsActionArgs args, CustomResourceOptions options)
type: aws-native:budgets:BudgetsAction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BudgetsActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BudgetsActionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BudgetsActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BudgetsActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BudgetsActionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BudgetsAction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BudgetsAction resource accepts the following input properties:
- ActionThreshold Pulumi.Aws Native. Budgets. Inputs. Budgets Action Action Threshold 
- The trigger threshold of the action.
- ActionType Pulumi.Aws Native. Budgets. Budgets Action Action Type 
- 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.
- BudgetName string
- A string that represents the budget name. ":" and "" characters aren't allowed.
- Definition
Pulumi.Aws Native. Budgets. Inputs. Budgets Action Definition 
- Specifies all of the type-specific parameters.
- ExecutionRole stringArn 
- The role passed for action execution and reversion. Roles and actions must be in the same account.
- NotificationType Pulumi.Aws Native. Budgets. Budgets Action Notification Type 
- The type of a notification.
- Subscribers
List<Pulumi.Aws Native. Budgets. Inputs. Budgets Action Subscriber> 
- A list of subscribers.
- ApprovalModel Pulumi.Aws Native. Budgets. Budgets Action Approval Model 
- This specifies if the action needs manual or automatic approval.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- 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.
- ActionThreshold BudgetsAction Action Threshold Args 
- The trigger threshold of the action.
- ActionType BudgetsAction Action Type 
- 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.
- BudgetName string
- A string that represents the budget name. ":" and "" characters aren't allowed.
- Definition
BudgetsAction Definition Args 
- Specifies all of the type-specific parameters.
- ExecutionRole stringArn 
- The role passed for action execution and reversion. Roles and actions must be in the same account.
- NotificationType BudgetsAction Notification Type 
- The type of a notification.
- Subscribers
[]BudgetsAction Subscriber Args 
- A list of subscribers.
- ApprovalModel BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- 
TagArgs 
- 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.
- actionThreshold BudgetsAction Action Threshold 
- The trigger threshold of the action.
- actionType BudgetsAction Action Type 
- 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.
- budgetName String
- A string that represents the budget name. ":" and "" characters aren't allowed.
- definition
BudgetsAction Definition 
- Specifies all of the type-specific parameters.
- executionRole StringArn 
- The role passed for action execution and reversion. Roles and actions must be in the same account.
- notificationType BudgetsAction Notification Type 
- The type of a notification.
- subscribers
List<BudgetsAction Subscriber> 
- A list of subscribers.
- approvalModel BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- List<Tag>
- 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.
- actionThreshold BudgetsAction Action Threshold 
- The trigger threshold of the action.
- actionType BudgetsAction Action Type 
- 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.
- budgetName string
- A string that represents the budget name. ":" and "" characters aren't allowed.
- definition
BudgetsAction Definition 
- Specifies all of the type-specific parameters.
- executionRole stringArn 
- The role passed for action execution and reversion. Roles and actions must be in the same account.
- notificationType BudgetsAction Notification Type 
- The type of a notification.
- subscribers
BudgetsAction Subscriber[] 
- A list of subscribers.
- approvalModel BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- Tag[]
- 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.
- action_threshold BudgetsAction Action Threshold Args 
- The trigger threshold of the action.
- action_type BudgetsAction Action Type 
- 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.
- budget_name str
- A string that represents the budget name. ":" and "" characters aren't allowed.
- definition
BudgetsAction Definition Args 
- Specifies all of the type-specific parameters.
- execution_role_ strarn 
- The role passed for action execution and reversion. Roles and actions must be in the same account.
- notification_type BudgetsAction Notification Type 
- The type of a notification.
- subscribers
Sequence[BudgetsAction Subscriber Args] 
- A list of subscribers.
- approval_model BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- 
Sequence[TagArgs] 
- 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.
- actionThreshold Property Map
- The trigger threshold of the action.
- actionType "APPLY_IAM_POLICY" | "APPLY_SCP_POLICY" | "RUN_SSM_DOCUMENTS"
- 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.
- budgetName String
- A string that represents the budget name. ":" and "" characters aren't allowed.
- definition Property Map
- Specifies all of the type-specific parameters.
- executionRole StringArn 
- The role passed for action execution and reversion. Roles and actions must be in the same account.
- notificationType "ACTUAL" | "FORECASTED"
- The type of a notification.
- subscribers List<Property Map>
- A list of subscribers.
- approvalModel "AUTOMATIC" | "MANUAL"
- This specifies if the action needs manual or automatic approval.
- List<Property Map>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the BudgetsAction resource produces the following output properties:
Supporting Types
BudgetsActionActionThreshold, BudgetsActionActionThresholdArgs        
- Type
Pulumi.Aws Native. Budgets. Budgets Action Action Threshold Type 
- The type of threshold for a notification.
- Value double
- The threshold of a notification.
- Type
BudgetsAction Action Threshold Type 
- The type of threshold for a notification.
- Value float64
- The threshold of a notification.
- type
BudgetsAction Action Threshold Type 
- The type of threshold for a notification.
- value Double
- The threshold of a notification.
- type
BudgetsAction Action Threshold Type 
- The type of threshold for a notification.
- value number
- The threshold of a notification.
- type
BudgetsAction Action Threshold Type 
- The type of threshold for a notification.
- value float
- The threshold of a notification.
- type "PERCENTAGE" | "ABSOLUTE_VALUE"
- The type of threshold for a notification.
- value Number
- The threshold of a notification.
BudgetsActionActionThresholdType, BudgetsActionActionThresholdTypeArgs          
- Percentage
- PERCENTAGE
- AbsoluteValue 
- ABSOLUTE_VALUE
- BudgetsAction Action Threshold Type Percentage 
- PERCENTAGE
- BudgetsAction Action Threshold Type Absolute Value 
- ABSOLUTE_VALUE
- Percentage
- PERCENTAGE
- AbsoluteValue 
- ABSOLUTE_VALUE
- Percentage
- PERCENTAGE
- AbsoluteValue 
- ABSOLUTE_VALUE
- PERCENTAGE
- PERCENTAGE
- ABSOLUTE_VALUE
- ABSOLUTE_VALUE
- "PERCENTAGE"
- PERCENTAGE
- "ABSOLUTE_VALUE"
- ABSOLUTE_VALUE
BudgetsActionActionType, BudgetsActionActionTypeArgs        
- ApplyIam Policy 
- APPLY_IAM_POLICY
- ApplyScp Policy 
- APPLY_SCP_POLICY
- RunSsm Documents 
- RUN_SSM_DOCUMENTS
- BudgetsAction Action Type Apply Iam Policy 
- APPLY_IAM_POLICY
- BudgetsAction Action Type Apply Scp Policy 
- APPLY_SCP_POLICY
- BudgetsAction Action Type Run Ssm Documents 
- RUN_SSM_DOCUMENTS
- ApplyIam Policy 
- APPLY_IAM_POLICY
- ApplyScp Policy 
- APPLY_SCP_POLICY
- RunSsm Documents 
- RUN_SSM_DOCUMENTS
- ApplyIam Policy 
- APPLY_IAM_POLICY
- ApplyScp Policy 
- APPLY_SCP_POLICY
- RunSsm Documents 
- RUN_SSM_DOCUMENTS
- APPLY_IAM_POLICY
- APPLY_IAM_POLICY
- APPLY_SCP_POLICY
- APPLY_SCP_POLICY
- RUN_SSM_DOCUMENTS
- RUN_SSM_DOCUMENTS
- "APPLY_IAM_POLICY"
- APPLY_IAM_POLICY
- "APPLY_SCP_POLICY"
- APPLY_SCP_POLICY
- "RUN_SSM_DOCUMENTS"
- RUN_SSM_DOCUMENTS
BudgetsActionApprovalModel, BudgetsActionApprovalModelArgs        
- Automatic
- AUTOMATIC
- Manual
- MANUAL
- BudgetsAction Approval Model Automatic 
- AUTOMATIC
- BudgetsAction Approval Model Manual 
- MANUAL
- Automatic
- AUTOMATIC
- Manual
- MANUAL
- Automatic
- AUTOMATIC
- Manual
- MANUAL
- AUTOMATIC
- AUTOMATIC
- MANUAL
- MANUAL
- "AUTOMATIC"
- AUTOMATIC
- "MANUAL"
- MANUAL
BudgetsActionDefinition, BudgetsActionDefinitionArgs      
- IamAction Pulumi.Definition Aws Native. Budgets. Inputs. Budgets Action Iam Action Definition 
- The AWS Identity and Access Management ( IAM ) action definition details.
- ScpAction Pulumi.Definition Aws Native. Budgets. Inputs. Budgets Action Scp Action Definition 
- The service control policies (SCP) action definition details.
- SsmAction Pulumi.Definition Aws Native. Budgets. Inputs. Budgets Action Ssm Action Definition 
- The Amazon EC2 Systems Manager ( SSM ) action definition details.
- IamAction BudgetsDefinition Action Iam Action Definition 
- The AWS Identity and Access Management ( IAM ) action definition details.
- ScpAction BudgetsDefinition Action Scp Action Definition 
- The service control policies (SCP) action definition details.
- SsmAction BudgetsDefinition Action Ssm Action Definition 
- The Amazon EC2 Systems Manager ( SSM ) action definition details.
- iamAction BudgetsDefinition Action Iam Action Definition 
- The AWS Identity and Access Management ( IAM ) action definition details.
- scpAction BudgetsDefinition Action Scp Action Definition 
- The service control policies (SCP) action definition details.
- ssmAction BudgetsDefinition Action Ssm Action Definition 
- The Amazon EC2 Systems Manager ( SSM ) action definition details.
- iamAction BudgetsDefinition Action Iam Action Definition 
- The AWS Identity and Access Management ( IAM ) action definition details.
- scpAction BudgetsDefinition Action Scp Action Definition 
- The service control policies (SCP) action definition details.
- ssmAction BudgetsDefinition Action Ssm Action Definition 
- The Amazon EC2 Systems Manager ( SSM ) action definition details.
- iam_action_ Budgetsdefinition Action Iam Action Definition 
- The AWS Identity and Access Management ( IAM ) action definition details.
- scp_action_ Budgetsdefinition Action Scp Action Definition 
- The service control policies (SCP) action definition details.
- ssm_action_ Budgetsdefinition Action Ssm Action Definition 
- The Amazon EC2 Systems Manager ( SSM ) action definition details.
- iamAction Property MapDefinition 
- The AWS Identity and Access Management ( IAM ) action definition details.
- scpAction Property MapDefinition 
- The service control policies (SCP) action definition details.
- ssmAction Property MapDefinition 
- The Amazon EC2 Systems Manager ( SSM ) action definition details.
BudgetsActionIamActionDefinition, BudgetsActionIamActionDefinitionArgs          
- PolicyArn string
- The Amazon Resource Name (ARN) of the policy to be attached.
- Groups List<string>
- A list of groups to be attached. There must be at least one group.
- Roles List<string>
- A list of roles to be attached. There must be at least one role.
- Users List<string>
- A list of users to be attached. There must be at least one user.
- PolicyArn string
- The Amazon Resource Name (ARN) of the policy to be attached.
- Groups []string
- A list of groups to be attached. There must be at least one group.
- Roles []string
- A list of roles to be attached. There must be at least one role.
- Users []string
- A list of users to be attached. There must be at least one user.
- policyArn String
- The Amazon Resource Name (ARN) of the policy to be attached.
- groups List<String>
- A list of groups to be attached. There must be at least one group.
- roles List<String>
- A list of roles to be attached. There must be at least one role.
- users List<String>
- A list of users to be attached. There must be at least one user.
- policyArn string
- The Amazon Resource Name (ARN) of the policy to be attached.
- groups string[]
- A list of groups to be attached. There must be at least one group.
- roles string[]
- A list of roles to be attached. There must be at least one role.
- users string[]
- A list of users to be attached. There must be at least one user.
- policy_arn str
- The Amazon Resource Name (ARN) of the policy to be attached.
- groups Sequence[str]
- A list of groups to be attached. There must be at least one group.
- roles Sequence[str]
- A list of roles to be attached. There must be at least one role.
- users Sequence[str]
- A list of users to be attached. There must be at least one user.
- policyArn String
- The Amazon Resource Name (ARN) of the policy to be attached.
- groups List<String>
- A list of groups to be attached. There must be at least one group.
- roles List<String>
- A list of roles to be attached. There must be at least one role.
- users List<String>
- A list of users to be attached. There must be at least one user.
BudgetsActionNotificationType, BudgetsActionNotificationTypeArgs        
- Actual
- ACTUAL
- Forecasted
- FORECASTED
- BudgetsAction Notification Type Actual 
- ACTUAL
- BudgetsAction Notification Type Forecasted 
- FORECASTED
- Actual
- ACTUAL
- Forecasted
- FORECASTED
- Actual
- ACTUAL
- Forecasted
- FORECASTED
- ACTUAL
- ACTUAL
- FORECASTED
- FORECASTED
- "ACTUAL"
- ACTUAL
- "FORECASTED"
- FORECASTED
BudgetsActionScpActionDefinition, BudgetsActionScpActionDefinitionArgs          
- policy_id str
- The policy ID attached.
- target_ids Sequence[str]
- A list of target IDs.
BudgetsActionSsmActionDefinition, BudgetsActionSsmActionDefinitionArgs          
- InstanceIds List<string>
- The EC2 and RDS instance IDs.
- Region string
- The Region to run the ( SSM ) document.
- Subtype
Pulumi.Aws Native. Budgets. Budgets Action Ssm Action Definition Subtype 
- The action subType.
- InstanceIds []string
- The EC2 and RDS instance IDs.
- Region string
- The Region to run the ( SSM ) document.
- Subtype
BudgetsAction Ssm Action Definition Subtype 
- The action subType.
- instanceIds List<String>
- The EC2 and RDS instance IDs.
- region String
- The Region to run the ( SSM ) document.
- subtype
BudgetsAction Ssm Action Definition Subtype 
- The action subType.
- instanceIds string[]
- The EC2 and RDS instance IDs.
- region string
- The Region to run the ( SSM ) document.
- subtype
BudgetsAction Ssm Action Definition Subtype 
- The action subType.
- instance_ids Sequence[str]
- The EC2 and RDS instance IDs.
- region str
- The Region to run the ( SSM ) document.
- subtype
BudgetsAction Ssm Action Definition Subtype 
- The action subType.
- instanceIds List<String>
- The EC2 and RDS instance IDs.
- region String
- The Region to run the ( SSM ) document.
- subtype "STOP_EC2_INSTANCES" | "STOP_RDS_INSTANCES"
- The action subType.
BudgetsActionSsmActionDefinitionSubtype, BudgetsActionSsmActionDefinitionSubtypeArgs            
- StopEc2Instances 
- STOP_EC2_INSTANCES
- StopRds Instances 
- STOP_RDS_INSTANCES
- BudgetsAction Ssm Action Definition Subtype Stop Ec2Instances 
- STOP_EC2_INSTANCES
- BudgetsAction Ssm Action Definition Subtype Stop Rds Instances 
- STOP_RDS_INSTANCES
- StopEc2Instances 
- STOP_EC2_INSTANCES
- StopRds Instances 
- STOP_RDS_INSTANCES
- StopEc2Instances 
- STOP_EC2_INSTANCES
- StopRds Instances 
- STOP_RDS_INSTANCES
- STOP_EC2_INSTANCES
- STOP_EC2_INSTANCES
- STOP_RDS_INSTANCES
- STOP_RDS_INSTANCES
- "STOP_EC2_INSTANCES"
- STOP_EC2_INSTANCES
- "STOP_RDS_INSTANCES"
- STOP_RDS_INSTANCES
BudgetsActionSubscriber, BudgetsActionSubscriberArgs      
- Address string
- The address that AWS sends budget notifications to, either an SNS topic or an email. - When you create a subscriber, the value of - Addresscan't contain line breaks.
- Type
Pulumi.Aws Native. Budgets. Budgets Action Subscriber Type 
- The type of notification that AWS sends to a subscriber.
- Address string
- The address that AWS sends budget notifications to, either an SNS topic or an email. - When you create a subscriber, the value of - Addresscan't contain line breaks.
- Type
BudgetsAction Subscriber Type 
- The type of notification that AWS sends to a subscriber.
- address String
- The address that AWS sends budget notifications to, either an SNS topic or an email. - When you create a subscriber, the value of - Addresscan't contain line breaks.
- type
BudgetsAction Subscriber Type 
- The type of notification that AWS sends to a subscriber.
- address string
- The address that AWS sends budget notifications to, either an SNS topic or an email. - When you create a subscriber, the value of - Addresscan't contain line breaks.
- type
BudgetsAction Subscriber Type 
- The type of notification that AWS sends to a subscriber.
- address str
- The address that AWS sends budget notifications to, either an SNS topic or an email. - When you create a subscriber, the value of - Addresscan't contain line breaks.
- type
BudgetsAction Subscriber Type 
- The type of notification that AWS sends to a subscriber.
- address String
- The address that AWS sends budget notifications to, either an SNS topic or an email. - When you create a subscriber, the value of - Addresscan't contain line breaks.
- type "SNS" | "EMAIL"
- The type of notification that AWS sends to a subscriber.
BudgetsActionSubscriberType, BudgetsActionSubscriberTypeArgs        
- Sns
- SNS
- BudgetsAction Subscriber Type Sns 
- SNS
- BudgetsAction Subscriber Type Email 
- Sns
- SNS
- Sns
- SNS
- SNS
- SNS
- "SNS"
- SNS
- "EMAIL"
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.