Module: AWSCDK::RDS::IClusterEngine
- Includes:
- IEngine
- Defined in:
- rds/i_cluster_engine.rb
Overview
The interface representing a database cluster (as opposed to instance) engine.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind_to_cluster(scope, options) ⇒ AWSCDK::RDS::ClusterEngineConfig
Method called when the engine is used to create a new cluster.
-
#combine_import_and_export_roles ⇒ Boolean?
Whether the IAM Roles used for data importing and exporting need to be combined for this Engine, or can they be kept separate.
-
#default_username ⇒ String?
The default name of the master database user if one was not provided explicitly.
-
#engine_family ⇒ String?
The family this engine belongs to, like "MYSQL", or "POSTGRESQL".
-
#engine_type ⇒ String
The type of the engine, for example "mysql".
-
#engine_version ⇒ AWSCDK::RDS::EngineVersion?
The exact version of the engine that is used, for example "5.1.42".
-
#multi_user_rotation_application ⇒ AWSCDK::SecretsManager::SecretRotationApplication
The application used by this engine to perform rotation for a multi-user scenario.
-
#parameter_group_family ⇒ String?
The family to use for ParameterGroups using this engine.
-
#single_user_rotation_application ⇒ AWSCDK::SecretsManager::SecretRotationApplication
The application used by this engine to perform rotation for a single-user scenario.
-
#supported_log_types ⇒ Array<String>
The log types that are available with this engine type.
Class Method Details
.jsii_overridable_methods ⇒ Object
98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'rds/i_cluster_engine.rb', line 98 def self.jsii_overridable_methods { :engine_type => { kind: :property, name: "engineType", is_optional: false }, :default_username => { kind: :property, name: "defaultUsername", is_optional: true }, :engine_family => { kind: :property, name: "engineFamily", is_optional: true }, :engine_version => { kind: :property, name: "engineVersion", is_optional: true }, :parameter_group_family => { kind: :property, name: "parameterGroupFamily", is_optional: true }, :multi_user_rotation_application => { kind: :property, name: "multiUserRotationApplication", is_optional: false }, :single_user_rotation_application => { kind: :property, name: "singleUserRotationApplication", is_optional: false }, :supported_log_types => { kind: :property, name: "supportedLogTypes", is_optional: false }, :combine_import_and_export_roles => { kind: :property, name: "combineImportAndExportRoles", is_optional: true }, :bind_to_cluster => { kind: :method, name: "bindToCluster", is_optional: false }, } end |
Instance Method Details
#bind_to_cluster(scope, options) ⇒ AWSCDK::RDS::ClusterEngineConfig
Method called when the engine is used to create a new cluster.
91 92 93 94 95 96 |
# File 'rds/i_cluster_engine.rb', line 91 def bind_to_cluster(scope, ) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") = .is_a?(Hash) ? ::AWSCDK::RDS::ClusterEngineBindOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLkNsdXN0ZXJFbmdpbmVCaW5kT3B0aW9ucyJ9")), "options") jsii_call_method("bindToCluster", [scope, ]) end |
#combine_import_and_export_roles ⇒ Boolean?
Default: false
Whether the IAM Roles used for data importing and exporting need to be combined for this Engine, or can they be kept separate.
82 83 84 |
# File 'rds/i_cluster_engine.rb', line 82 def combine_import_and_export_roles() jsii_get_property("combineImportAndExportRoles") end |
#default_username ⇒ String?
The default name of the master database user if one was not provided explicitly.
The global default of 'admin' will be used if this is undefined.
Note that 'admin' is a reserved word in PostgreSQL and cannot be used.
21 22 23 |
# File 'rds/i_cluster_engine.rb', line 21 def default_username() jsii_get_property("defaultUsername") end |
#engine_family ⇒ String?
Default: - the engine doesn't belong to any family
The family this engine belongs to, like "MYSQL", or "POSTGRESQL".
This property is used when creating a Database Proxy. Most engines don't belong to any family (and because of that, you can't create Database Proxies for their Clusters or Instances).
33 34 35 |
# File 'rds/i_cluster_engine.rb', line 33 def engine_family() jsii_get_property("engineFamily") end |
#engine_type ⇒ String
The type of the engine, for example "mysql".
11 12 13 |
# File 'rds/i_cluster_engine.rb', line 11 def engine_type() jsii_get_property("engineType") end |
#engine_version ⇒ AWSCDK::RDS::EngineVersion?
Default: - use the default version for this engine type
The exact version of the engine that is used, for example "5.1.42".
41 42 43 |
# File 'rds/i_cluster_engine.rb', line 41 def engine_version() jsii_get_property("engineVersion") end |
#multi_user_rotation_application ⇒ AWSCDK::SecretsManager::SecretRotationApplication
The application used by this engine to perform rotation for a multi-user scenario.
60 61 62 |
# File 'rds/i_cluster_engine.rb', line 60 def multi_user_rotation_application() jsii_get_property("multiUserRotationApplication") end |
#parameter_group_family ⇒ String?
Default: - the ParameterGroup family is not known (which means the major version of the engine is also not known)
The family to use for ParameterGroups using this engine.
This is usually equal to "
53 54 55 |
# File 'rds/i_cluster_engine.rb', line 53 def parameter_group_family() jsii_get_property("parameterGroupFamily") end |
#single_user_rotation_application ⇒ AWSCDK::SecretsManager::SecretRotationApplication
The application used by this engine to perform rotation for a single-user scenario.
67 68 69 |
# File 'rds/i_cluster_engine.rb', line 67 def single_user_rotation_application() jsii_get_property("singleUserRotationApplication") end |
#supported_log_types ⇒ Array<String>
The log types that are available with this engine type.
74 75 76 |
# File 'rds/i_cluster_engine.rb', line 74 def supported_log_types() jsii_get_property("supportedLogTypes") end |