Class: Aws::ResilienceHub::Types::Cost

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

Overview

Defines a cost object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountFloat

The cost amount.

Returns:

  • (Float)


1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1273

class Cost < Struct.new(
  :amount,
  :currency,
  :frequency)
  SENSITIVE = []
  include Aws::Structure
end

#currencyString

The cost currency, for example ‘USD`.

Returns:

  • (String)


1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1273

class Cost < Struct.new(
  :amount,
  :currency,
  :frequency)
  SENSITIVE = []
  include Aws::Structure
end

#frequencyString

The cost frequency.

Returns:

  • (String)


1273
1274
1275
1276
1277
1278
1279
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1273

class Cost < Struct.new(
  :amount,
  :currency,
  :frequency)
  SENSITIVE = []
  include Aws::Structure
end