Class: AWSCDK::RDS::PostgresEngineFeatures

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

Overview

Features supported by the Postgres database engine.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_export: nil, s3_import: nil) ⇒ PostgresEngineFeatures

Returns a new instance of PostgresEngineFeatures.

Parameters:

  • s3_export (Boolean, nil) (defaults to: nil)

    Whether this version of the Postgres engine supports the S3 data export feature.

  • s3_import (Boolean, nil) (defaults to: nil)

    Whether this version of the Postgres engine supports the S3 data import feature.



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_exportBoolean? (readonly)

Note:

Default: false

Whether this version of the Postgres engine supports the S3 data export feature.

Returns:

  • (Boolean, nil)


20
21
22
# File 'rds/postgres_engine_features.rb', line 20

def s3_export
  @s3_export
end

#s3_importBoolean? (readonly)

Note:

Default: false

Whether this version of the Postgres engine supports the S3 data import feature.

Returns:

  • (Boolean, nil)


25
26
27
# File 'rds/postgres_engine_features.rb', line 25

def s3_import
  @s3_import
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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