Class: AWSCDK::ResourceGroups::CfnGroup::ConfigurationParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResourceGroups::CfnGroup::ConfigurationParameterProperty
- 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
-
#name ⇒ String?
readonly
The name of the group configuration parameter.
-
#values ⇒ Array<String>?
readonly
The value or values to be used for the specified parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, values: nil) ⇒ ConfigurationParameterProperty
constructor
A new instance of ConfigurationParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, values: nil) ⇒ ConfigurationParameterProperty
Returns a new instance of ConfigurationParameterProperty.
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
#name ⇒ String? (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 |
#values ⇒ Array<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_properties ⇒ Object
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_jsii ⇒ Object
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 |