Class: AWSCDK::RDS::AuroraPostgresEngineFeatures
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::AuroraPostgresEngineFeatures
- Defined in:
- rds/aurora_postgres_engine_features.rb
Overview
Features supported by this version of the Aurora Postgres cluster engine.
Instance Attribute Summary collapse
-
#s3_export ⇒ Boolean?
readonly
Whether this version of the Aurora Postgres cluster engine supports the S3 data export feature.
-
#s3_import ⇒ Boolean?
readonly
Whether this version of the Aurora Postgres cluster engine supports the S3 data import feature.
-
#serverless_v2_auto_pause_supported ⇒ Boolean?
readonly
Whether this version of the Aurora Postgres cluster engine supports the Aurora SeverlessV2 auto-pause feature.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_export: nil, s3_import: nil, serverless_v2_auto_pause_supported: nil) ⇒ AuroraPostgresEngineFeatures
constructor
A new instance of AuroraPostgresEngineFeatures.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_export: nil, s3_import: nil, serverless_v2_auto_pause_supported: nil) ⇒ AuroraPostgresEngineFeatures
Returns a new instance of AuroraPostgresEngineFeatures.
10 11 12 13 14 15 16 17 |
# File 'rds/aurora_postgres_engine_features.rb', line 10 def initialize(s3_export: nil, s3_import: nil, serverless_v2_auto_pause_supported: 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? @serverless_v2_auto_pause_supported = serverless_v2_auto_pause_supported Jsii::Type.check_type(@serverless_v2_auto_pause_supported, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "serverlessV2AutoPauseSupported") unless @serverless_v2_auto_pause_supported.nil? end |
Instance Attribute Details
#s3_export ⇒ Boolean? (readonly)
Default: false
Whether this version of the Aurora Postgres cluster engine supports the S3 data export feature.
23 24 25 |
# File 'rds/aurora_postgres_engine_features.rb', line 23 def s3_export @s3_export end |
#s3_import ⇒ Boolean? (readonly)
Default: false
Whether this version of the Aurora Postgres cluster engine supports the S3 data import feature.
28 29 30 |
# File 'rds/aurora_postgres_engine_features.rb', line 28 def s3_import @s3_import end |
#serverless_v2_auto_pause_supported ⇒ Boolean? (readonly)
Default: false
Whether this version of the Aurora Postgres cluster engine supports the Aurora SeverlessV2 auto-pause feature.
34 35 36 |
# File 'rds/aurora_postgres_engine_features.rb', line 34 def serverless_v2_auto_pause_supported @serverless_v2_auto_pause_supported end |
Class Method Details
.jsii_properties ⇒ Object
36 37 38 39 40 41 42 |
# File 'rds/aurora_postgres_engine_features.rb', line 36 def self.jsii_properties { :s3_export => "s3Export", :s3_import => "s3Import", :serverless_v2_auto_pause_supported => "serverlessV2AutoPauseSupported", } end |
Instance Method Details
#to_jsii ⇒ Object
44 45 46 47 48 49 50 51 52 |
# File 'rds/aurora_postgres_engine_features.rb', line 44 def to_jsii result = {} result.merge!({ "s3Export" => @s3_export, "s3Import" => @s3_import, "serverlessV2AutoPauseSupported" => @serverless_v2_auto_pause_supported, }) result.compact end |