AWS Native is in preview. AWS Classic is fully supported.
aws-native.budgets.getBudgetsAction
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:budgets:getBudgetsAction
arguments:
# arguments dictionary
The following arguments are supported:
- Action
Id string - A system-generated universally unique identifier (UUID) for the action.
- Budget
Name string - A string that represents the budget name. ":" and "" characters aren't allowed.
- Action
Id string - A system-generated universally unique identifier (UUID) for the action.
- Budget
Name string - A string that represents the budget name. ":" and "" characters aren't allowed.
- action
Id String - A system-generated universally unique identifier (UUID) for the action.
- budget
Name String - A string that represents the budget name. ":" and "" characters aren't allowed.
- action
Id string - A system-generated universally unique identifier (UUID) for the action.
- budget
Name 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.
- action
Id String - A system-generated universally unique identifier (UUID) for the action.
- budget
Name String - A string that represents the budget name. ":" and "" characters aren't allowed.
getBudgetsAction Result
The following output properties are available:
- Action
Id string - A system-generated universally unique identifier (UUID) for the action.
- Action
Threshold Pulumi.Aws Native. Budgets. Outputs. Budgets Action Action Threshold - The trigger threshold of the action.
- Approval
Model 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.
- Execution
Role stringArn - The role passed for action execution and reversion. Roles and actions must be in the same account.
- Notification
Type 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.
- Action
Id string - 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
Budgets
Action Definition - Specifies all of the type-specific parameters.
- Execution
Role stringArn - 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.
- 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
[]Budgets
Action Subscriber - A list of subscribers.
- action
Id String - 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
Budgets
Action Definition - Specifies all of the type-specific parameters.
- execution
Role StringArn - 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.
- 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<Budgets
Action Subscriber> - A list of subscribers.
- action
Id string - 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
Budgets
Action Definition - Specifies all of the type-specific parameters.
- execution
Role stringArn - 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.
- 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
Budgets
Action 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
Budgets
Action 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[Budgets
Action Subscriber] - A list of subscribers.
- action
Id String - A system-generated universally unique identifier (UUID) for the action.
- action
Threshold Property Map - The trigger threshold of the action.
- approval
Model "AUTOMATIC" | "MANUAL" - This specifies if the action needs manual or automatic approval.
- definition Property Map
- Specifies all of the type-specific parameters.
- execution
Role StringArn - The role passed for action execution and reversion. Roles and actions must be in the same account.
- notification
Type "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
Budgets
Action Action Threshold Type - The type of threshold for a notification.
- Value float64
- The threshold of a notification.
- type
Budgets
Action Action Threshold Type - The type of threshold for a notification.
- value Double
- The threshold of a notification.
- type
Budgets
Action Action Threshold Type - The type of threshold for a notification.
- value number
- The threshold of a notification.
- type
Budgets
Action 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
- Iam
Action Pulumi.Definition Aws Native. Budgets. Inputs. Budgets Action Iam Action Definition - The AWS Identity and Access Management ( IAM ) action definition details.
- Scp
Action Pulumi.Definition Aws Native. Budgets. Inputs. Budgets Action Scp Action Definition - The service control policies (SCP) action definition details.
- Ssm
Action Pulumi.Definition Aws Native. Budgets. Inputs. Budgets 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.
- 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.
- 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.
- 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.
- iam
Action Property MapDefinition - The AWS Identity and Access Management ( IAM ) action definition details.
- scp
Action Property MapDefinition - The service control policies (SCP) action definition details.
- ssm
Action Property MapDefinition - The Amazon EC2 Systems Manager ( SSM ) action definition details.
BudgetsActionIamActionDefinition
- Policy
Arn 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.
- Policy
Arn 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 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.
- policy
Arn 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.
- policy
Arn 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
- Instance
Ids 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.
- Instance
Ids []string - The EC2 and RDS instance IDs.
- Region string
- The Region to run the ( SSM ) document.
- Subtype
Budgets
Action Ssm Action Definition Subtype - The action subType.
- instance
Ids List<String> - The EC2 and RDS instance IDs.
- region String
- The Region to run the ( SSM ) document.
- subtype
Budgets
Action Ssm Action Definition Subtype - The action subType.
- instance
Ids string[] - The EC2 and RDS instance IDs.
- region string
- The Region to run the ( SSM ) document.
- subtype
Budgets
Action 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
Budgets
Action Ssm Action Definition Subtype - The action subType.
- instance
Ids 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
Address
can'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
Address
can't contain line breaks.- Type
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
Address
can't contain line breaks.- type
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
Address
can't contain line breaks.- type
Budgets
Action 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
Address
can't contain line breaks.- type
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
Address
can'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
AWS Native is in preview. AWS Classic is fully supported.