class MysqlEngineVersion
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.MysqlEngineVersion |
Java | software.amazon.awscdk.services.rds.MysqlEngineVersion |
Python | aws_cdk.aws_rds.MysqlEngineVersion |
TypeScript (source) | @aws-cdk/aws-rds » MysqlEngineVersion |
The versions for the MySQL instance engines (those returned by {@link DatabaseInstanceEngine.mysql}).
Example
declare const vpc: ec2.Vpc;
const role = new iam.Role(this, 'RDSDirectoryServicesRole', {
assumedBy: new iam.ServicePrincipal('rds.amazonaws.com'),
managedPolicies: [
iam.ManagedPolicy.fromAwsManagedPolicyName('service-role/AmazonRDSDirectoryServiceAccess'),
],
});
const instance = new rds.DatabaseInstance(this, 'Instance', {
engine: rds.DatabaseInstanceEngine.mysql({ version: rds.MysqlEngineVersion.VER_8_0_19 }),
vpc,
domain: 'd-????????', // The ID of the domain for the instance to join.
domainRole: role, // Optional - will be create automatically if not provided.
});
Properties
Name | Type | Description |
---|---|---|
mysql | string | The full version string, for example, "10.5.28". |
mysql | string | The major version of the engine, for example, "10.5". |
static VER_5_5 | Mysql | Version "5.5" (only a major version, without a specific minor version). |
static VER_5_5_46 | Mysql | Version "5.5.46". |
static VER_5_5_53 | Mysql | Version "5.5.53". |
static VER_5_5_57 | Mysql | Version "5.5.57". |
static VER_5_5_59 | Mysql | Version "5.5.59". |
static VER_5_5_61 | Mysql | Version "5.5.61". |
static VER_5_6 | Mysql | Version "5.6" (only a major version, without a specific minor version). |
static VER_5_6_34 | Mysql | Version "5.6.34". |
static VER_5_6_35 | Mysql | Version "5.6.35". |
static VER_5_6_37 | Mysql | Version "5.6.37". |
static VER_5_6_39 | Mysql | Version "5.6.39". |
static VER_5_6_40 | Mysql | Version "5.6.40". |
static VER_5_6_41 | Mysql | Version "5.6.41". |
static VER_5_6_43 | Mysql | Version "5.6.43". |
static VER_5_6_44 | Mysql | Version "5.6.44". |
static VER_5_6_46 | Mysql | Version "5.6.46". |
static VER_5_6_48 | Mysql | Version "5.6.48". |
static VER_5_6_49 | Mysql | Version "5.6.49". |
static VER_5_6_51 | Mysql | Version "5.6.51". |
static VER_5_7 | Mysql | Version "5.7" (only a major version, without a specific minor version). |
static VER_5_7_16 | Mysql | Version "5.7.16". |
static VER_5_7_17 | Mysql | Version "5.7.17". |
static VER_5_7_19 | Mysql | Version "5.7.19". |
static VER_5_7_21 | Mysql | Version "5.7.21". |
static VER_5_7_22 | Mysql | Version "5.7.22". |
static VER_5_7_23 | Mysql | Version "5.7.23". |
static VER_5_7_24 | Mysql | Version "5.7.24". |
static VER_5_7_25 | Mysql | Version "5.7.25". |
static VER_5_7_26 | Mysql | Version "5.7.26". |
static VER_5_7_28 | Mysql | Version "5.7.28". |
static VER_5_7_30 | Mysql | Version "5.7.30". |
static VER_5_7_31 | Mysql | Version "5.7.31". |
static VER_5_7_33 | Mysql | Version "5.7.33". |
static VER_5_7_34 | Mysql | Version "5.7.34". |
static VER_5_7_35 | Mysql | Version "5.7.35". |
static VER_5_7_36 | Mysql | Version "5.7.36". |
static VER_5_7_37 | Mysql | Version "5.7.37". |
static VER_8_0 | Mysql | Version "8.0" (only a major version, without a specific minor version). |
static VER_8_0_11 | Mysql | Version "8.0.11". |
static VER_8_0_13 | Mysql | Version "8.0.13". |
static VER_8_0_15 | Mysql | Version "8.0.15". |
static VER_8_0_16 | Mysql | Version "8.0.16". |
static VER_8_0_17 | Mysql | Version "8.0.17". |
static VER_8_0_19 | Mysql | Version "8.0.19". |
static VER_8_0_20 | Mysql | Version "8.0.20 ". |
static VER_8_0_21 | Mysql | Version "8.0.21 ". |
static VER_8_0_23 | Mysql | Version "8.0.23". |
static VER_8_0_25 | Mysql | Version "8.0.25". |
static VER_8_0_26 | Mysql | Version "8.0.26". |
static VER_8_0_27 | Mysql | Version "8.0.27". |
static VER_8_0_28 | Mysql | Version "8.0.28". |
mysqlFullVersion
Type:
string
The full version string, for example, "10.5.28".
mysqlMajorVersion
Type:
string
The major version of the engine, for example, "10.5".
static VER_5_5
⚠️ Deprecated: MySQL 5.5 will reach end of life on May 25, 2021
Type:
Mysql
Version "5.5" (only a major version, without a specific minor version).
static VER_5_5_46
⚠️ Deprecated: MySQL 5.5 will reach end of life on May 25, 2021
Type:
Mysql
Version "5.5.46".
static VER_5_5_53
⚠️ Deprecated: MySQL 5.5 will reach end of life on May 25, 2021
Type:
Mysql
Version "5.5.53".
static VER_5_5_57
⚠️ Deprecated: MySQL 5.5 will reach end of life on May 25, 2021
Type:
Mysql
Version "5.5.57".
static VER_5_5_59
⚠️ Deprecated: MySQL 5.5 will reach end of life on May 25, 2021
Type:
Mysql
Version "5.5.59".
static VER_5_5_61
⚠️ Deprecated: MySQL 5.5 will reach end of life on May 25, 2021
Type:
Mysql
Version "5.5.61".
static VER_5_6
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6" (only a major version, without a specific minor version).
static VER_5_6_34
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.34".
static VER_5_6_35
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.35".
static VER_5_6_37
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.37".
static VER_5_6_39
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.39".
static VER_5_6_40
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.40".
static VER_5_6_41
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.41".
static VER_5_6_43
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.43".
static VER_5_6_44
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.44".
static VER_5_6_46
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.46".
static VER_5_6_48
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.48".
static VER_5_6_49
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.49".
static VER_5_6_51
⚠️ Deprecated: MySQL 5.6 will reach end of life on August 3, 2021
Type:
Mysql
Version "5.6.51".
static VER_5_7
Type:
Mysql
Version "5.7" (only a major version, without a specific minor version).
static VER_5_7_16
Type:
Mysql
Version "5.7.16".
static VER_5_7_17
Type:
Mysql
Version "5.7.17".
static VER_5_7_19
Type:
Mysql
Version "5.7.19".
static VER_5_7_21
Type:
Mysql
Version "5.7.21".
static VER_5_7_22
Type:
Mysql
Version "5.7.22".
static VER_5_7_23
Type:
Mysql
Version "5.7.23".
static VER_5_7_24
Type:
Mysql
Version "5.7.24".
static VER_5_7_25
Type:
Mysql
Version "5.7.25".
static VER_5_7_26
Type:
Mysql
Version "5.7.26".
static VER_5_7_28
Type:
Mysql
Version "5.7.28".
static VER_5_7_30
Type:
Mysql
Version "5.7.30".
static VER_5_7_31
Type:
Mysql
Version "5.7.31".
static VER_5_7_33
Type:
Mysql
Version "5.7.33".
static VER_5_7_34
Type:
Mysql
Version "5.7.34".
static VER_5_7_35
Type:
Mysql
Version "5.7.35".
static VER_5_7_36
Type:
Mysql
Version "5.7.36".
static VER_5_7_37
Type:
Mysql
Version "5.7.37".
static VER_8_0
Type:
Mysql
Version "8.0" (only a major version, without a specific minor version).
static VER_8_0_11
Type:
Mysql
Version "8.0.11".
static VER_8_0_13
Type:
Mysql
Version "8.0.13".
static VER_8_0_15
Type:
Mysql
Version "8.0.15".
static VER_8_0_16
Type:
Mysql
Version "8.0.16".
static VER_8_0_17
Type:
Mysql
Version "8.0.17".
static VER_8_0_19
Type:
Mysql
Version "8.0.19".
static VER_8_0_20
Type:
Mysql
Version "8.0.20 ".
static VER_8_0_21
Type:
Mysql
Version "8.0.21 ".
static VER_8_0_23
Type:
Mysql
Version "8.0.23".
static VER_8_0_25
Type:
Mysql
Version "8.0.25".
static VER_8_0_26
Type:
Mysql
Version "8.0.26".
static VER_8_0_27
Type:
Mysql
Version "8.0.27".
static VER_8_0_28
Type:
Mysql
Version "8.0.28".
Methods
Name | Description |
---|---|
static of(mysqlFullVersion, mysqlMajorVersion) | Create a new MysqlEngineVersion with an arbitrary version. |
static of(mysqlFullVersion, mysqlMajorVersion)
public static of(mysqlFullVersion: string, mysqlMajorVersion: string): MysqlEngineVersion
Parameters
- mysqlFullVersion
string
— the full version string, for example "8.1.43". - mysqlMajorVersion
string
— the major version of the engine, for example "8.1".
Returns
Create a new MysqlEngineVersion with an arbitrary version.