Class: AWSCDK::RDS::PostgresInstanceEngineProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::PostgresInstanceEngineProps
- Defined in:
- rds/postgres_instance_engine_props.rb
Overview
Properties for PostgreSQL instance engines.
Used in DatabaseInstanceEngine.postgres.
Instance Attribute Summary collapse
-
#version ⇒ AWSCDK::RDS::PostgresEngineVersion
readonly
The exact version of the engine to use.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(version:) ⇒ PostgresInstanceEngineProps
constructor
A new instance of PostgresInstanceEngineProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(version:) ⇒ PostgresInstanceEngineProps
Returns a new instance of PostgresInstanceEngineProps.
10 11 12 13 |
# File 'rds/postgres_instance_engine_props.rb', line 10 def initialize(version:) @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLlBvc3RncmVzRW5naW5lVmVyc2lvbiJ9")), "version") end |
Instance Attribute Details
#version ⇒ AWSCDK::RDS::PostgresEngineVersion (readonly)
The exact version of the engine to use.
18 19 20 |
# File 'rds/postgres_instance_engine_props.rb', line 18 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
20 21 22 23 24 |
# File 'rds/postgres_instance_engine_props.rb', line 20 def self.jsii_properties { :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
26 27 28 29 30 31 32 |
# File 'rds/postgres_instance_engine_props.rb', line 26 def to_jsii result = {} result.merge!({ "version" => @version, }) result.compact end |