Class: AWSCDK::RDS::InstanceEngineFeatures

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

Overview

Represents Database Engine features.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InstanceEngineFeatures.

Parameters:

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

    Feature name for the DB instance that the IAM role to export to S3 bucket is to be associated with.

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

    Feature name for the DB instance that the IAM role to access the S3 bucket for import is to be associated with.



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_exportString? (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.

Returns:

  • (String, nil)


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

def s3_export
  @s3_export
end

#s3_importString? (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.

Returns:

  • (String, nil)


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

def s3_import
  @s3_import
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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