1. Packages
  2. AWS Native
  3. API Docs
  4. budgets
  5. getBudgetsAction

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

aws-native.budgets.getBudgetsAction

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

    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:

    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.AwsNative.Budgets.Outputs.BudgetsActionActionThreshold
    The trigger threshold of the action.
    ApprovalModel Pulumi.AwsNative.Budgets.BudgetsActionApprovalModel
    This specifies if the action needs manual or automatic approval.
    Definition Pulumi.AwsNative.Budgets.Outputs.BudgetsActionDefinition
    Specifies all of the type-specific parameters.
    ExecutionRoleArn string
    The role passed for action execution and reversion. Roles and actions must be in the same account.
    NotificationType Pulumi.AwsNative.Budgets.BudgetsActionNotificationType
    The type of a notification.
    ResourceTags List<Pulumi.AwsNative.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.AwsNative.Budgets.Outputs.BudgetsActionSubscriber>
    A list of subscribers.
    ActionId string
    A system-generated universally unique identifier (UUID) for the action.
    ActionThreshold BudgetsActionActionThreshold
    The trigger threshold of the action.
    ApprovalModel BudgetsActionApprovalModel
    This specifies if the action needs manual or automatic approval.
    Definition BudgetsActionDefinition
    Specifies all of the type-specific parameters.
    ExecutionRoleArn string
    The role passed for action execution and reversion. Roles and actions must be in the same account.
    NotificationType BudgetsActionNotificationType
    The type of a notification.
    ResourceTags 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 []BudgetsActionSubscriber
    A list of subscribers.
    actionId String
    A system-generated universally unique identifier (UUID) for the action.
    actionThreshold BudgetsActionActionThreshold
    The trigger threshold of the action.
    approvalModel BudgetsActionApprovalModel
    This specifies if the action needs manual or automatic approval.
    definition BudgetsActionDefinition
    Specifies all of the type-specific parameters.
    executionRoleArn String
    The role passed for action execution and reversion. Roles and actions must be in the same account.
    notificationType BudgetsActionNotificationType
    The type of a notification.
    resourceTags 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<BudgetsActionSubscriber>
    A list of subscribers.
    actionId string
    A system-generated universally unique identifier (UUID) for the action.
    actionThreshold BudgetsActionActionThreshold
    The trigger threshold of the action.
    approvalModel BudgetsActionApprovalModel
    This specifies if the action needs manual or automatic approval.
    definition BudgetsActionDefinition
    Specifies all of the type-specific parameters.
    executionRoleArn string
    The role passed for action execution and reversion. Roles and actions must be in the same account.
    notificationType BudgetsActionNotificationType
    The type of a notification.
    resourceTags 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 BudgetsActionSubscriber[]
    A list of subscribers.
    action_id str
    A system-generated universally unique identifier (UUID) for the action.
    action_threshold BudgetsActionActionThreshold
    The trigger threshold of the action.
    approval_model BudgetsActionApprovalModel
    This specifies if the action needs manual or automatic approval.
    definition BudgetsActionDefinition
    Specifies all of the type-specific parameters.
    execution_role_arn str
    The role passed for action execution and reversion. Roles and actions must be in the same account.
    notification_type BudgetsActionNotificationType
    The type of a notification.
    resource_tags 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[BudgetsActionSubscriber]
    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.
    executionRoleArn String
    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.
    resourceTags 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.AwsNative.Budgets.BudgetsActionActionThresholdType
    The type of threshold for a notification.
    Value double
    The threshold of a notification.
    Type BudgetsActionActionThresholdType
    The type of threshold for a notification.
    Value float64
    The threshold of a notification.
    type BudgetsActionActionThresholdType
    The type of threshold for a notification.
    value Double
    The threshold of a notification.
    type BudgetsActionActionThresholdType
    The type of threshold for a notification.
    value number
    The threshold of a notification.
    type BudgetsActionActionThresholdType
    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

    IamActionDefinition Pulumi.AwsNative.Budgets.Inputs.BudgetsActionIamActionDefinition
    The AWS Identity and Access Management ( IAM ) action definition details.
    ScpActionDefinition Pulumi.AwsNative.Budgets.Inputs.BudgetsActionScpActionDefinition
    The service control policies (SCP) action definition details.
    SsmActionDefinition Pulumi.AwsNative.Budgets.Inputs.BudgetsActionSsmActionDefinition
    The Amazon EC2 Systems Manager ( SSM ) action definition details.
    IamActionDefinition BudgetsActionIamActionDefinition
    The AWS Identity and Access Management ( IAM ) action definition details.
    ScpActionDefinition BudgetsActionScpActionDefinition
    The service control policies (SCP) action definition details.
    SsmActionDefinition BudgetsActionSsmActionDefinition
    The Amazon EC2 Systems Manager ( SSM ) action definition details.
    iamActionDefinition BudgetsActionIamActionDefinition
    The AWS Identity and Access Management ( IAM ) action definition details.
    scpActionDefinition BudgetsActionScpActionDefinition
    The service control policies (SCP) action definition details.
    ssmActionDefinition BudgetsActionSsmActionDefinition
    The Amazon EC2 Systems Manager ( SSM ) action definition details.
    iamActionDefinition BudgetsActionIamActionDefinition
    The AWS Identity and Access Management ( IAM ) action definition details.
    scpActionDefinition BudgetsActionScpActionDefinition
    The service control policies (SCP) action definition details.
    ssmActionDefinition BudgetsActionSsmActionDefinition
    The Amazon EC2 Systems Manager ( SSM ) action definition details.
    iam_action_definition BudgetsActionIamActionDefinition
    The AWS Identity and Access Management ( IAM ) action definition details.
    scp_action_definition BudgetsActionScpActionDefinition
    The service control policies (SCP) action definition details.
    ssm_action_definition BudgetsActionSsmActionDefinition
    The Amazon EC2 Systems Manager ( SSM ) action definition details.
    iamActionDefinition Property Map
    The AWS Identity and Access Management ( IAM ) action definition details.
    scpActionDefinition Property Map
    The service control policies (SCP) action definition details.
    ssmActionDefinition Property Map
    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

    PolicyId string
    The policy ID attached.
    TargetIds List<string>
    A list of target IDs.
    PolicyId string
    The policy ID attached.
    TargetIds []string
    A list of target IDs.
    policyId String
    The policy ID attached.
    targetIds List<String>
    A list of target IDs.
    policyId string
    The policy ID attached.
    targetIds string[]
    A list of target IDs.
    policy_id str
    The policy ID attached.
    target_ids Sequence[str]
    A list of target IDs.
    policyId String
    The policy ID attached.
    targetIds List<String>
    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.AwsNative.Budgets.BudgetsActionSsmActionDefinitionSubtype
    The action subType.
    InstanceIds []string
    The EC2 and RDS instance IDs.
    Region string
    The Region to run the ( SSM ) document.
    Subtype BudgetsActionSsmActionDefinitionSubtype
    The action subType.
    instanceIds List<String>
    The EC2 and RDS instance IDs.
    region String
    The Region to run the ( SSM ) document.
    subtype BudgetsActionSsmActionDefinitionSubtype
    The action subType.
    instanceIds string[]
    The EC2 and RDS instance IDs.
    region string
    The Region to run the ( SSM ) document.
    subtype BudgetsActionSsmActionDefinitionSubtype
    The action subType.
    instance_ids Sequence[str]
    The EC2 and RDS instance IDs.
    region str
    The Region to run the ( SSM ) document.
    subtype BudgetsActionSsmActionDefinitionSubtype
    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 Address can't contain line breaks.

    Type Pulumi.AwsNative.Budgets.BudgetsActionSubscriberType
    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 BudgetsActionSubscriberType
    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 BudgetsActionSubscriberType
    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 BudgetsActionSubscriberType
    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 BudgetsActionSubscriberType
    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi