Class: AWSCDK::RDS::DatabaseClusterEngine
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::RDS::DatabaseClusterEngine
- Defined in:
- rds/database_cluster_engine.rb
Overview
A database cluster engine.
Provides mapping to the serverless application used for secret rotation.
Class Method Summary collapse
-
.aurora(props) ⇒ AWSCDK::RDS::IClusterEngine
deprecated
Deprecated.
use
auroraMysql()instead -
.AURORA ⇒ AWSCDK::RDS::IClusterEngine
deprecated
Deprecated.
use
AURORA_MYSQLinstead -
.aurora_mysql(props) ⇒ AWSCDK::RDS::IClusterEngine
Creates a new Aurora MySQL database cluster engine.
-
.AURORA_MYSQL ⇒ AWSCDK::RDS::IClusterEngine
The unversioned 'aurora-msql' cluster engine.
-
.aurora_postgres(props) ⇒ AWSCDK::RDS::IClusterEngine
Creates a new Aurora PostgreSQL database cluster engine.
-
.AURORA_POSTGRESQL ⇒ AWSCDK::RDS::IClusterEngine
The unversioned 'aurora-postgresql' cluster engine.
- .jsii_overridable_methods ⇒ Object
Instance Method Summary collapse
-
#initialize ⇒ DatabaseClusterEngine
constructor
A new instance of DatabaseClusterEngine.
Constructor Details
#initialize ⇒ DatabaseClusterEngine
Returns a new instance of DatabaseClusterEngine.
11 12 13 |
# File 'rds/database_cluster_engine.rb', line 11 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.aurora(props) ⇒ AWSCDK::RDS::IClusterEngine
use auroraMysql() instead
Creates a new plain Aurora database cluster engine.
25 26 27 28 29 |
# File 'rds/database_cluster_engine.rb', line 25 def self.aurora(props) props = props.is_a?(Hash) ? ::AWSCDK::RDS::AuroraClusterEngineProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLkF1cm9yYUNsdXN0ZXJFbmdpbmVQcm9wcyJ9")), "props") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_rds.DatabaseClusterEngine", "aurora", [props]) end |
.AURORA ⇒ AWSCDK::RDS::IClusterEngine
use AURORA_MYSQL instead
The unversioned 'aurora' cluster engine.
Note: we do not recommend using unversioned engines for non-serverless Clusters,
as that can pose an availability risk.
We recommend using versioned engines created using the aurora() method
59 60 61 |
# File 'rds/database_cluster_engine.rb', line 59 def self.AURORA() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_rds.DatabaseClusterEngine", "AURORA") end |
.aurora_mysql(props) ⇒ AWSCDK::RDS::IClusterEngine
Creates a new Aurora MySQL database cluster engine.
35 36 37 38 39 |
# File 'rds/database_cluster_engine.rb', line 35 def self.aurora_mysql(props) props = props.is_a?(Hash) ? ::AWSCDK::RDS::AuroraMysqlClusterEngineProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLkF1cm9yYU15c3FsQ2x1c3RlckVuZ2luZVByb3BzIn0=")), "props") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_rds.DatabaseClusterEngine", "auroraMysql", [props]) end |
.AURORA_MYSQL ⇒ AWSCDK::RDS::IClusterEngine
The unversioned 'aurora-msql' cluster engine.
Note: we do not recommend using unversioned engines for non-serverless Clusters,
as that can pose an availability risk.
We recommend using versioned engines created using the aurora_mysql() method
70 71 72 |
# File 'rds/database_cluster_engine.rb', line 70 def self.AURORA_MYSQL() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_rds.DatabaseClusterEngine", "AURORA_MYSQL") end |
.aurora_postgres(props) ⇒ AWSCDK::RDS::IClusterEngine
Creates a new Aurora PostgreSQL database cluster engine.
45 46 47 48 49 |
# File 'rds/database_cluster_engine.rb', line 45 def self.aurora_postgres(props) props = props.is_a?(Hash) ? ::AWSCDK::RDS::AuroraPostgresClusterEngineProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcmRzLkF1cm9yYVBvc3RncmVzQ2x1c3RlckVuZ2luZVByb3BzIn0=")), "props") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_rds.DatabaseClusterEngine", "auroraPostgres", [props]) end |
.AURORA_POSTGRESQL ⇒ AWSCDK::RDS::IClusterEngine
The unversioned 'aurora-postgresql' cluster engine.
Note: we do not recommend using unversioned engines for non-serverless Clusters,
as that can pose an availability risk.
We recommend using versioned engines created using the aurora_postgres() method
81 82 83 |
# File 'rds/database_cluster_engine.rb', line 81 def self.AURORA_POSTGRESQL() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_rds.DatabaseClusterEngine", "AURORA_POSTGRESQL") end |
.jsii_overridable_methods ⇒ Object
15 16 17 18 |
# File 'rds/database_cluster_engine.rb', line 15 def self.jsii_overridable_methods { } end |