IClusterEngine

class aws_cdk.aws_rds.IClusterEngine(*args, **kwds)

Bases: IEngine, Protocol

The interface representing a database cluster (as opposed to instance) engine.

Methods

bind_to_cluster(scope, *, parameter_group=None, s3_export_role=None, s3_import_role=None)

Method called when the engine is used to create a new cluster.

Parameters
  • scope (Construct) –

  • parameter_group (Optional[IParameterGroup]) – The customer-provided ParameterGroup. Default: - none

  • s3_export_role (Optional[IRole]) – The role used for S3 exporting. Default: - none

  • s3_import_role (Optional[IRole]) – The role used for S3 importing. Default: - none

Return type

ClusterEngineConfig

Attributes

combine_import_and_export_roles

Whether the IAM Roles used for data importing and exporting need to be combined for this Engine, or can they be kept separate.

Default

false

default_username

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.

engine_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).

Default
  • the engine doesn’t belong to any family

engine_type

The type of the engine, for example “mysql”.

engine_version

The exact version of the engine that is used, for example “5.1.42”.

Default
  • use the default version for this engine type

multi_user_rotation_application

The application used by this engine to perform rotation for a multi-user scenario.

parameter_group_family

The family to use for ParameterGroups using this engine.

This is usually equal to “”, but can sometimes be a variation of that. You can pass this property when creating new ParameterGroup.

Default

  • the ParameterGroup family is not known

(which means the major version of the engine is also not known)

single_user_rotation_application

The application used by this engine to perform rotation for a single-user scenario.

supported_log_types

The log types that are available with this engine type.