Class: AWSCDK::RDS::InstanceEngineFeatures
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RDS::InstanceEngineFeatures
- Defined in:
- rds/instance_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.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_export: nil, s3_import: nil) ⇒ InstanceEngineFeatures
constructor
A new instance of InstanceEngineFeatures.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_export: nil, s3_import: nil) ⇒ InstanceEngineFeatures
Returns a new instance of InstanceEngineFeatures.
9 10 11 12 13 14 |
# File 'rds/instance_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("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? end |
Instance Attribute Details
#s3_export ⇒ String? (readonly)
Note:
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.
20 21 22 |
# File 'rds/instance_engine_features.rb', line 20 def s3_export @s3_export end |
#s3_import ⇒ String? (readonly)
Note:
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.
25 26 27 |
# File 'rds/instance_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/instance_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/instance_engine_features.rb', line 34 def to_jsii result = {} result.merge!({ "s3Export" => @s3_export, "s3Import" => @s3_import, }) result.compact end |