Class: AWSCDK::Redshift::CfnClusterParameterGroup::ParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Redshift::CfnClusterParameterGroup::ParameterProperty
- Defined in:
- redshift/cfn_cluster_parameter_group.rb
Overview
Describes a parameter in a cluster parameter group.
Instance Attribute Summary collapse
-
#parameter_name ⇒ String
readonly
The name of the parameter.
-
#parameter_value ⇒ String
readonly
The value of the parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_name:, parameter_value:) ⇒ ParameterProperty
constructor
A new instance of ParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_name:, parameter_value:) ⇒ ParameterProperty
Returns a new instance of ParameterProperty.
577 578 579 580 581 582 |
# File 'redshift/cfn_cluster_parameter_group.rb', line 577 def initialize(parameter_name:, parameter_value:) @parameter_name = parameter_name Jsii::Type.check_type(@parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterName") @parameter_value = parameter_value Jsii::Type.check_type(@parameter_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterValue") end |
Instance Attribute Details
#parameter_name ⇒ String (readonly)
The name of the parameter.
588 589 590 |
# File 'redshift/cfn_cluster_parameter_group.rb', line 588 def parameter_name @parameter_name end |
#parameter_value ⇒ String (readonly)
The value of the parameter.
If ParameterName is wlm_json_configuration , then the maximum size of ParameterValue is 8000 characters.
595 596 597 |
# File 'redshift/cfn_cluster_parameter_group.rb', line 595 def parameter_value @parameter_value end |
Class Method Details
.jsii_properties ⇒ Object
597 598 599 600 601 602 |
# File 'redshift/cfn_cluster_parameter_group.rb', line 597 def self.jsii_properties { :parameter_name => "parameterName", :parameter_value => "parameterValue", } end |
Instance Method Details
#to_jsii ⇒ Object
604 605 606 607 608 609 610 611 |
# File 'redshift/cfn_cluster_parameter_group.rb', line 604 def to_jsii result = {} result.merge!({ "parameterName" => @parameter_name, "parameterValue" => @parameter_value, }) result.compact end |