class Aws::Budgets::Types::UpdateBudgetActionRequest

@note When making an API call, you may pass UpdateBudgetActionRequest

data as a hash:

    {
      account_id: "AccountId", # required
      budget_name: "BudgetName", # required
      action_id: "ActionId", # required
      notification_type: "ACTUAL", # accepts ACTUAL, FORECASTED
      action_threshold: {
        action_threshold_value: 1.0, # required
        action_threshold_type: "PERCENTAGE", # required, accepts PERCENTAGE, ABSOLUTE_VALUE
      },
      definition: {
        iam_action_definition: {
          policy_arn: "PolicyArn", # required
          roles: ["Role"],
          groups: ["Group"],
          users: ["User"],
        },
        scp_action_definition: {
          policy_id: "PolicyId", # required
          target_ids: ["TargetId"], # required
        },
        ssm_action_definition: {
          action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
          region: "Region", # required
          instance_ids: ["InstanceId"], # required
        },
      },
      execution_role_arn: "RoleArn",
      approval_model: "AUTOMATIC", # accepts AUTOMATIC, MANUAL
      subscribers: [
        {
          subscription_type: "SNS", # required, accepts SNS, EMAIL
          address: "SubscriberAddress", # required
        },
      ],
    }

@!attribute [rw] account_id

The account ID of the user. It should be a 12-digit number.
@return [String]

@!attribute [rw] budget_name

A string that represents the budget name. The ":" and "\\"
characters aren't allowed.
@return [String]

@!attribute [rw] action_id

A system-generated universally unique identifier (UUID) for the
action.
@return [String]

@!attribute [rw] notification_type

The type of a notification. It must be ACTUAL or FORECASTED.
@return [String]

@!attribute [rw] action_threshold

The trigger threshold of the action.
@return [Types::ActionThreshold]

@!attribute [rw] definition

Specifies all of the type-specific parameters.
@return [Types::Definition]

@!attribute [rw] execution_role_arn

The role passed for action execution and reversion. Roles and
actions must be in the same account.
@return [String]

@!attribute [rw] approval_model

This specifies if the action needs manual or automatic approval.
@return [String]

@!attribute [rw] subscribers

A list of subscribers.
@return [Array<Types::Subscriber>]

Constants

SENSITIVE