Class: AWSCDK::RDS::CfnOptionGroup::OptionSettingProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rds/cfn_option_group.rb

Overview

The OptionSetting property type specifies the value for an option within an OptionSetting property.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil, value: nil) ⇒ OptionSettingProperty

Returns a new instance of OptionSettingProperty.

Parameters:

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

    The name of the option that has settings that you can set.

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

    The current value of the option setting.



671
672
673
674
675
676
# File 'rds/cfn_option_group.rb', line 671

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

#nameString? (readonly)

The name of the option that has settings that you can set.



682
683
684
# File 'rds/cfn_option_group.rb', line 682

def name
  @name
end

#valueString? (readonly)

The current value of the option setting.



687
688
689
# File 'rds/cfn_option_group.rb', line 687

def value
  @value
end

Class Method Details

.jsii_propertiesObject



689
690
691
692
693
694
# File 'rds/cfn_option_group.rb', line 689

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

Instance Method Details

#to_jsiiObject



696
697
698
699
700
701
702
703
# File 'rds/cfn_option_group.rb', line 696

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