Class: Aws::BCMPricingCalculator::Types::AddReservedInstanceAction

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

Overview

Represents an action to add a Reserved Instance to a bill scenario.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_countInteger

The number of instances to add for this Reserved Instance offering.

Returns:

  • (Integer)


43
44
45
46
47
48
# File 'lib/aws-sdk-bcmpricingcalculator/types.rb', line 43

class AddReservedInstanceAction < Struct.new(
  :reserved_instances_offering_id,
  :instance_count)
  SENSITIVE = []
  include Aws::Structure
end

#reserved_instances_offering_idString

The ID of the Reserved Instance offering to add. For more information, see [ DescribeReservedInstancesOfferings].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeReservedInstancesOfferings.html

Returns:

  • (String)


43
44
45
46
47
48
# File 'lib/aws-sdk-bcmpricingcalculator/types.rb', line 43

class AddReservedInstanceAction < Struct.new(
  :reserved_instances_offering_id,
  :instance_count)
  SENSITIVE = []
  include Aws::Structure
end