Class: AWSCDK::RDS::CfnDBInstance::ProcessorFeatureProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::CfnDBInstance::ProcessorFeatureProperty
- Defined in:
- rds/cfn_db_instance.rb
Overview
The ProcessorFeature property type specifies the processor features of a DB instance class.
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
The name of the processor feature.
-
#value ⇒ String?
readonly
The value of a processor feature.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ ProcessorFeatureProperty
constructor
A new instance of ProcessorFeatureProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, value: nil) ⇒ ProcessorFeatureProperty
Returns a new instance of ProcessorFeatureProperty.
2214 2215 2216 2217 2218 2219 |
# File 'rds/cfn_db_instance.rb', line 2214 def initialize(name: nil, value: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
The name of the processor feature.
Valid names are core_count and threads_per_core .
2227 2228 2229 |
# File 'rds/cfn_db_instance.rb', line 2227 def name @name end |
#value ⇒ String? (readonly)
The value of a processor feature.
2232 2233 2234 |
# File 'rds/cfn_db_instance.rb', line 2232 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
2234 2235 2236 2237 2238 2239 |
# File 'rds/cfn_db_instance.rb', line 2234 def self.jsii_properties { :name => "name", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
2241 2242 2243 2244 2245 2246 2247 2248 |
# File 'rds/cfn_db_instance.rb', line 2241 def to_jsii result = {} result.merge!({ "name" => @name, "value" => @value, }) result.compact end |