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

Class: Aws::ServiceCatalog::Types::AssociateBudgetWithResourceInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb

Overview

Note:

When making an API call, you may pass AssociateBudgetWithResourceInput data as a hash:

{
  budget_name: "BudgetName", # required
  resource_id: "Id", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#budget_nameString

The name of the budget you want to associate.

Returns:

  • (String)


116
117
118
119
120
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 116

class AssociateBudgetWithResourceInput < Struct.new(
  :budget_name,
  :resource_id)
  include Aws::Structure
end

#resource_idString

The resource identifier. Either a portfolio-id or a product-id.

Returns:

  • (String)


116
117
118
119
120
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 116

class AssociateBudgetWithResourceInput < Struct.new(
  :budget_name,
  :resource_id)
  include Aws::Structure
end