Class: AWSCDK::RDS::ClusterEngineFeatures
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::ClusterEngineFeatures
- Defined in:
- rds/cluster_engine_features.rb
Overview
Represents Database Engine features.
Instance Attribute Summary collapse
-
#s3_export ⇒ String?
readonly
Feature name for the DB instance that the IAM role to export to S3 bucket is to be associated with.
-
#s3_import ⇒ String?
readonly
Feature name for the DB instance that the IAM role to access the S3 bucket for import is to be associated with.
-
#serverless_v2_auto_pause_supported ⇒ Boolean?
readonly
Whether the DB cluster engine supports the Aurora ServerlessV2 auto-pause feature.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_export: nil, s3_import: nil, serverless_v2_auto_pause_supported: nil) ⇒ ClusterEngineFeatures
constructor
A new instance of ClusterEngineFeatures.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_export: nil, s3_import: nil, serverless_v2_auto_pause_supported: nil) ⇒ ClusterEngineFeatures
Returns a new instance of ClusterEngineFeatures.
10 11 12 13 14 15 16 17 |
# File 'rds/cluster_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("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3Export") unless @s3_export.nil? @s3_import = s3_import Jsii::Type.check_type(@s3_import, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "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 ⇒ String? (readonly)
Default: - no s3Export feature name
Feature name for the DB instance that the IAM role to export to S3 bucket is to be associated with.
23 24 25 |
# File 'rds/cluster_engine_features.rb', line 23 def s3_export @s3_export end |
#s3_import ⇒ String? (readonly)
Default: - no s3Import feature name
Feature name for the DB instance that the IAM role to access the S3 bucket for import is to be associated with.
28 29 30 |
# File 'rds/cluster_engine_features.rb', line 28 def s3_import @s3_import end |
#serverless_v2_auto_pause_supported ⇒ Boolean? (readonly)
Default: false
Whether the DB cluster engine supports the Aurora ServerlessV2 auto-pause feature.
33 34 35 |
# File 'rds/cluster_engine_features.rb', line 33 def serverless_v2_auto_pause_supported @serverless_v2_auto_pause_supported end |
Class Method Details
.jsii_properties ⇒ Object
35 36 37 38 39 40 41 |
# File 'rds/cluster_engine_features.rb', line 35 def self.jsii_properties { :s3_export => "s3Export", :s3_import => "s3Import", :serverless_v2_auto_pause_supported => "serverlessV2AutoPauseSupported", } end |
Instance Method Details
#to_jsii ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'rds/cluster_engine_features.rb', line 43 def to_jsii result = {} result.merge!({ "s3Export" => @s3_export, "s3Import" => @s3_import, "serverlessV2AutoPauseSupported" => @serverless_v2_auto_pause_supported, }) result.compact end |