Class: AWSCDK::Budgets::CfnBudget::ExpressionDimensionValuesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
budgets/cfn_budget.rb

Overview

Contains the specifications for the filters to use for your request.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key: nil, match_options: nil, values: nil) ⇒ ExpressionDimensionValuesProperty

Returns a new instance of ExpressionDimensionValuesProperty.

Parameters:

  • key (String, nil) (defaults to: nil)

    The name of the dimension that you want to filter on.

  • match_options (Array<String>, nil) (defaults to: nil)

    The match options that you can use to filter your results.

  • values (Array<String>, nil) (defaults to: nil)

    The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.



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 = 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

#keyString? (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_optionsArray<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
  @match_options
end

#valuesArray<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_propertiesObject



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_jsiiObject



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