We recommend new projects start with resources from the AWS provider.
aws-native.budgets.getBudgetsAction
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.
Using getBudgetsAction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBudgetsAction(args: GetBudgetsActionArgs, opts?: InvokeOptions): Promise<GetBudgetsActionResult>
function getBudgetsActionOutput(args: GetBudgetsActionOutputArgs, opts?: InvokeOptions): Output<GetBudgetsActionResult>def get_budgets_action(action_id: Optional[str] = None,
                       budget_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetBudgetsActionResult
def get_budgets_action_output(action_id: Optional[pulumi.Input[str]] = None,
                       budget_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetBudgetsActionResult]func LookupBudgetsAction(ctx *Context, args *LookupBudgetsActionArgs, opts ...InvokeOption) (*LookupBudgetsActionResult, error)
func LookupBudgetsActionOutput(ctx *Context, args *LookupBudgetsActionOutputArgs, opts ...InvokeOption) LookupBudgetsActionResultOutput> Note: This function is named LookupBudgetsAction in the Go SDK.
public static class GetBudgetsAction 
{
    public static Task<GetBudgetsActionResult> InvokeAsync(GetBudgetsActionArgs args, InvokeOptions? opts = null)
    public static Output<GetBudgetsActionResult> Invoke(GetBudgetsActionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBudgetsActionResult> getBudgetsAction(GetBudgetsActionArgs args, InvokeOptions options)
public static Output<GetBudgetsActionResult> getBudgetsAction(GetBudgetsActionArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:budgets:getBudgetsAction
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ActionId string
- A system-generated universally unique identifier (UUID) for the action.
- BudgetName string
- A string that represents the budget name. ":" and "" characters aren't allowed.
- ActionId string
- A system-generated universally unique identifier (UUID) for the action.
- BudgetName string
- A string that represents the budget name. ":" and "" characters aren't allowed.
- actionId String
- A system-generated universally unique identifier (UUID) for the action.
- budgetName String
- A string that represents the budget name. ":" and "" characters aren't allowed.
- actionId string
- A system-generated universally unique identifier (UUID) for the action.
- budgetName string
- A string that represents the budget name. ":" and "" characters aren't allowed.
- action_id str
- A system-generated universally unique identifier (UUID) for the action.
- budget_name str
- A string that represents the budget name. ":" and "" characters aren't allowed.
- actionId String
- A system-generated universally unique identifier (UUID) for the action.
- budgetName String
- A string that represents the budget name. ":" and "" characters aren't allowed.
getBudgetsAction Result
The following output properties are available:
- ActionId string
- A system-generated universally unique identifier (UUID) for the action.
- ActionThreshold Pulumi.Aws Native. Budgets. Outputs. Budgets Action Action Threshold 
- The trigger threshold of the action.
- ApprovalModel Pulumi.Aws Native. Budgets. Budgets Action Approval Model 
- This specifies if the action needs manual or automatic approval.
- Definition
Pulumi.Aws Native. Budgets. Outputs. 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.
- 
List<Pulumi.Aws Native. Outputs. 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.
- Subscribers
List<Pulumi.Aws Native. Budgets. Outputs. Budgets Action Subscriber> 
- A list of subscribers.
- ActionId string
- A system-generated universally unique identifier (UUID) for the action.
- ActionThreshold BudgetsAction Action Threshold 
- The trigger threshold of the action.
- ApprovalModel BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- 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.
- 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.
- Subscribers
[]BudgetsAction Subscriber 
- A list of subscribers.
- actionId String
- A system-generated universally unique identifier (UUID) for the action.
- actionThreshold BudgetsAction Action Threshold 
- The trigger threshold of the action.
- approvalModel BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- 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.
- 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.
- subscribers
List<BudgetsAction Subscriber> 
- A list of subscribers.
- actionId string
- A system-generated universally unique identifier (UUID) for the action.
- actionThreshold BudgetsAction Action Threshold 
- The trigger threshold of the action.
- approvalModel BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- 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.
- 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.
- subscribers
BudgetsAction Subscriber[] 
- A list of subscribers.
- action_id str
- A system-generated universally unique identifier (UUID) for the action.
- action_threshold BudgetsAction Action Threshold 
- The trigger threshold of the action.
- approval_model BudgetsAction Approval Model 
- This specifies if the action needs manual or automatic approval.
- definition
BudgetsAction Definition 
- 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.
- Sequence[root_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.
- subscribers
Sequence[BudgetsAction Subscriber] 
- A list of subscribers.
- actionId String
- A system-generated universally unique identifier (UUID) for the action.
- actionThreshold Property Map
- The trigger threshold of the action.
- approvalModel "AUTOMATIC" | "MANUAL"
- This specifies if the action needs manual or automatic approval.
- 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.
- 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.
- subscribers List<Property Map>
- A list of subscribers.
Supporting Types
BudgetsActionActionThreshold   
- 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    
BudgetsActionApprovalModel   
BudgetsActionDefinition  
- 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    
- 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   
BudgetsActionScpActionDefinition    
- policy_id str
- The policy ID attached.
- target_ids Sequence[str]
- A list of target IDs.
BudgetsActionSsmActionDefinition    
- 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     
BudgetsActionSubscriber  
- 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   
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.