Class: AWSCDK::Budgets::CfnBudget::ExpressionDimensionValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Budgets::CfnBudget::ExpressionDimensionValuesProperty
- Defined in:
- budgets/cfn_budget.rb
Overview
Contains the specifications for the filters to use for your request.
Instance Attribute Summary collapse
-
#key ⇒ String?
readonly
The name of the dimension that you want to filter on.
-
#match_options ⇒ Array<String>?
readonly
The match options that you can use to filter your results.
-
#values ⇒ Array<String>?
readonly
The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key: nil, match_options: nil, values: nil) ⇒ ExpressionDimensionValuesProperty
constructor
A new instance of ExpressionDimensionValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key: nil, match_options: nil, values: nil) ⇒ ExpressionDimensionValuesProperty
Returns a new instance of ExpressionDimensionValuesProperty.
963 964 965 966 967 968 969 970 |
# File 'budgets/cfn_budget.rb', line 963 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 name of the dimension that you want to filter on.
976 977 978 |
# File 'budgets/cfn_budget.rb', line 976 def key @key end |
#match_options ⇒ Array<String>? (readonly)
The match options that you can use to filter your results.
You can specify only one of these values in the array.
983 984 985 |
# File 'budgets/cfn_budget.rb', line 983 def @match_options end |
#values ⇒ Array<String>? (readonly)
The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.
988 989 990 |
# File 'budgets/cfn_budget.rb', line 988 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
990 991 992 993 994 995 996 |
# File 'budgets/cfn_budget.rb', line 990 def self.jsii_properties { :key => "key", :match_options => "matchOptions", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
998 999 1000 1001 1002 1003 1004 1005 1006 |
# File 'budgets/cfn_budget.rb', line 998 def to_jsii result = {} result.merge!({ "key" => @key, "matchOptions" => @match_options, "values" => @values, }) result.compact end |