Class: AWSCDK::RDS::PostgresEngineFeatures
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::PostgresEngineFeatures
- Defined in:
- rds/postgres_engine_features.rb
Overview
Features supported by the Postgres database engine.
Instance Attribute Summary collapse
-
#s3_export ⇒ Boolean?
readonly
Whether this version of the Postgres engine supports the S3 data export feature.
-
#s3_import ⇒ Boolean?
readonly
Whether this version of the Postgres engine supports the S3 data import feature.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_export: nil, s3_import: nil) ⇒ PostgresEngineFeatures
constructor
A new instance of PostgresEngineFeatures.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_export: nil, s3_import: nil) ⇒ PostgresEngineFeatures
Returns a new instance of PostgresEngineFeatures.
9 10 11 12 13 14 |
# File 'rds/postgres_engine_features.rb', line 9 def initialize(s3_export: nil, s3_import: nil) @s3_export = s3_export Jsii::Type.check_type(@s3_export, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "s3Export") unless @s3_export.nil? @s3_import = s3_import Jsii::Type.check_type(@s3_import, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "s3Import") unless @s3_import.nil? end |
Instance Attribute Details
#s3_export ⇒ Boolean? (readonly)
Note:
Default: false
Whether this version of the Postgres engine supports the S3 data export feature.
20 21 22 |
# File 'rds/postgres_engine_features.rb', line 20 def s3_export @s3_export end |
#s3_import ⇒ Boolean? (readonly)
Note:
Default: false
Whether this version of the Postgres engine supports the S3 data import feature.
25 26 27 |
# File 'rds/postgres_engine_features.rb', line 25 def s3_import @s3_import end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'rds/postgres_engine_features.rb', line 27 def self.jsii_properties { :s3_export => "s3Export", :s3_import => "s3Import", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'rds/postgres_engine_features.rb', line 34 def to_jsii result = {} result.merge!({ "s3Export" => @s3_export, "s3Import" => @s3_import, }) result.compact end |