Class: AWSCDK::Budgets::CfnBudget::CostCategoryValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Budgets::CfnBudget::CostCategoryValuesProperty
- Defined in:
- budgets/cfn_budget.rb
Overview
The cost category values used for filtering the costs.
Instance Attribute Summary collapse
-
#key ⇒ String?
readonly
The unique name of the cost category.
-
#match_options ⇒ Array<String>?
readonly
The match options that you can use to filter your results.
-
#values ⇒ Array<String>?
readonly
The specific value of the cost category.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key: nil, match_options: nil, values: nil) ⇒ CostCategoryValuesProperty
constructor
A new instance of CostCategoryValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key: nil, match_options: nil, values: nil) ⇒ CostCategoryValuesProperty
Returns a new instance of CostCategoryValuesProperty.
753 754 755 756 757 758 759 760 |
# File 'budgets/cfn_budget.rb', line 753 def initialize(key: nil, match_options: nil, values: nil) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") unless @key.nil? @match_options = Jsii::Type.check_type(@match_options, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "matchOptions") unless @match_options.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#key ⇒ String? (readonly)
The unique name of the cost category.
766 767 768 |
# File 'budgets/cfn_budget.rb', line 766 def key @key end |
#match_options ⇒ Array<String>? (readonly)
The match options that you can use to filter your results.
771 772 773 |
# File 'budgets/cfn_budget.rb', line 771 def @match_options end |
#values ⇒ Array<String>? (readonly)
The specific value of the cost category.
776 777 778 |
# File 'budgets/cfn_budget.rb', line 776 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
778 779 780 781 782 783 784 |
# File 'budgets/cfn_budget.rb', line 778 def self.jsii_properties { :key => "key", :match_options => "matchOptions", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
786 787 788 789 790 791 792 793 794 |
# File 'budgets/cfn_budget.rb', line 786 def to_jsii result = {} result.merge!({ "key" => @key, "matchOptions" => @match_options, "values" => @values, }) result.compact end |