Class: Aws::Budgets::Types::CreateBudgetActionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-budgets/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account ID of the user. It’s a 12-digit number.

Returns:

  • (String)


575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#action_thresholdTypes::ActionThreshold

The trigger threshold of the action.



575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#action_typeString

The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.

Returns:

  • (String)


575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#approval_modelString

This specifies if the action needs manual or automatic approval.

Returns:

  • (String)


575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#budget_nameString

A string that represents the budget name. The “:” and “\” characters, and the “/action/” substring, aren’t allowed.

Returns:

  • (String)


575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#definitionTypes::Definition

Specifies all of the type-specific parameters.

Returns:



575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#execution_role_arnString

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

Returns:

  • (String)


575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#notification_typeString

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

Returns:

  • (String)


575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_tagsArray<Types::ResourceTag>

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.

Returns:



575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end

#subscribersArray<Types::Subscriber>

A list of subscribers.

Returns:



575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'lib/aws-sdk-budgets/types.rb', line 575

class CreateBudgetActionRequest < Struct.new(
  :account_id,
  :budget_name,
  :notification_type,
  :action_type,
  :action_threshold,
  :definition,
  :execution_role_arn,
  :approval_model,
  :subscribers,
  :resource_tags)
  SENSITIVE = []
  include Aws::Structure
end