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)


1219
1220
1221
1222
1223
1224
1225
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1219

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

#currencyString

The cost currency, for example ‘USD`.

Returns:

  • (String)


1219
1220
1221
1222
1223
1224
1225
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1219

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

#frequencyString

The cost frequency.

Returns:

  • (String)


1219
1220
1221
1222
1223
1224
1225
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1219

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