interface IClusterEngine
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.IClusterEngine |
Java | software.amazon.awscdk.services.rds.IClusterEngine |
Python | aws_cdk.aws_rds.IClusterEngine |
TypeScript (source) | @aws-cdk/aws-rds » IClusterEngine |
Obtainable from
Database
.aurora()
, Database
.auroraMysql()
, Database
.auroraPostgres()
The interface representing a database cluster (as opposed to instance) engine.
Properties
Name | Type | Description |
---|---|---|
engine | string | The type of the engine, for example "mysql". |
multi | Secret | The application used by this engine to perform rotation for a multi-user scenario. |
single | Secret | The application used by this engine to perform rotation for a single-user scenario. |
supported | string[] | The log types that are available with this engine type. |
combine | 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 | string | The default name of the master database user if one was not provided explicitly. |
engine | string | The family this engine belongs to, like "MYSQL", or "POSTGRESQL". |
engine | Engine | The exact version of the engine that is used, for example "5.1.42". |
parameter | string | The family to use for ParameterGroups using this engine. |
engineType
Type:
string
The type of the engine, for example "mysql".
multiUserRotationApplication
Type:
Secret
The application used by this engine to perform rotation for a multi-user scenario.
singleUserRotationApplication
Type:
Secret
The application used by this engine to perform rotation for a single-user scenario.
supportedLogTypes
Type:
string[]
The log types that are available with this engine type.
combineImportAndExportRoles?
Type:
boolean
(optional, 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.
defaultUsername?
Type:
string
(optional)
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.
engineFamily?
Type:
string
(optional, 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).
engineVersion?
Type:
Engine
(optional, default: use the default version for this engine type)
The exact version of the engine that is used, for example "5.1.42".
parameterGroupFamily?
Type:
string
(optional, 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 "
Methods
Name | Description |
---|---|
bind | Method called when the engine is used to create a new cluster. |
ToCluster(scope, options)
bindpublic bindToCluster(scope: Construct, options: ClusterEngineBindOptions): ClusterEngineConfig
Parameters
- scope
Construct
- options
Cluster
Engine Bind Options
Returns
Method called when the engine is used to create a new cluster.