Class: AWSCDK::ResourceGroups::CfnGroup::ConfigurationParameterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
resource_groups/cfn_group.rb

Overview

One parameter for a group configuration item.

For details about service configurations and how to construct them, see Service configurations for resource groups in the Resource Groups User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, values: nil) ⇒ ConfigurationParameterProperty

Returns a new instance of ConfigurationParameterProperty.

Parameters:

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

    The name of the group configuration parameter.

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

    The value or values to be used for the specified parameter.



669
670
671
672
673
674
# File 'resource_groups/cfn_group.rb', line 669

def initialize(name: nil, values: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @values = values
  Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") unless @values.nil?
end

Instance Attribute Details

#nameString? (readonly)

The name of the group configuration parameter.

For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters in the Resource Groups User Guide .



682
683
684
# File 'resource_groups/cfn_group.rb', line 682

def name
  @name
end

#valuesArray<String>? (readonly)

The value or values to be used for the specified parameter.

For the list of values you can use with each parameter, see Supported resource types and parameters .



689
690
691
# File 'resource_groups/cfn_group.rb', line 689

def values
  @values
end

Class Method Details

.jsii_propertiesObject



691
692
693
694
695
696
# File 'resource_groups/cfn_group.rb', line 691

def self.jsii_properties
  {
    :name => "name",
    :values => "values",
  }
end

Instance Method Details

#to_jsiiObject



698
699
700
701
702
703
704
705
# File 'resource_groups/cfn_group.rb', line 698

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "values" => @values,
  })
  result.compact
end