You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Budgets::Types::UpdateBudgetActionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateBudgetActionRequest as input to an Aws::Client method, you can use a vanilla 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
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account ID of the user. It should be a 12-digit number.

Returns:

  • (String)

    The account ID of the user.

#action_idString

A system-generated universally unique identifier (UUID) for the action.

Returns:

  • (String)

    A system-generated universally unique identifier (UUID) for the action.

#action_thresholdTypes::ActionThreshold

The trigger threshold of the action.

Returns:

#approval_modelString

This specifies if the action needs manual or automatic approval.

Possible values:

  • AUTOMATIC
  • MANUAL

Returns:

  • (String)

    This specifies if the action needs manual or automatic approval.

#budget_nameString

A string that represents the budget name. The ":" and "\" characters aren't allowed.

Returns:

  • (String)

    A string that represents the budget name.

#definitionTypes::Definition

Specifies all of the type-specific parameters.

Returns:

#execution_role_arnString

The role passed for action execution and reversion. Roles and actions must be in the same account.

Returns:

  • (String)

    The role passed for action execution and reversion.

#notification_typeString

The type of a notification. It must be ACTUAL or FORECASTED.

Possible values:

  • ACTUAL
  • FORECASTED

Returns:

  • (String)

    The type of a notification.

#subscribersArray<Types::Subscriber>

A list of subscribers.

Returns: