class MysqlEngineVersion
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.MysqlEngineVersion |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#MysqlEngineVersion |
![]() | software.amazon.awscdk.services.rds.MysqlEngineVersion |
![]() | aws_cdk.aws_rds.MysqlEngineVersion |
![]() | aws-cdk-lib » aws_rds » MysqlEngineVersion |
The versions for the MySQL instance engines (those returned by DatabaseInstanceEngine.mysql
).
Example
declare const vpc: ec2.Vpc;
const iopsInstance = new rds.DatabaseInstance(this, 'IopsInstance', {
engine: rds.DatabaseInstanceEngine.mysql({ version: rds.MysqlEngineVersion.VER_8_0_39 }),
vpc,
storageType: rds.StorageType.IO1,
iops: 5000,
});
const gp3Instance = new rds.DatabaseInstance(this, 'Gp3Instance', {
engine: rds.DatabaseInstanceEngine.mysql({ version: rds.MysqlEngineVersion.VER_8_0_39 }),
vpc,
allocatedStorage: 500,
storageType: rds.StorageType.GP3,
storageThroughput: 500, // only applicable for GP3
});
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_54 | Mysql | Version "5.5.54". |
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_5_7_38 | Mysql | Version "5.7.38". |
static VER_5_7_39 | Mysql | Version "5.7.39". |
static VER_5_7_40 | Mysql | Version "5.7.40". |
static VER_5_7_41 | Mysql | Version "5.7.41". |
static VER_5_7_42 | Mysql | Version "5.7.42". |
static VER_5_7_43 | Mysql | Version "5.7.43". |
static VER_5_7_44 | Mysql | Version "5.7.44". |
static VER_5_7_44_RDS_20240408 | Mysql | Version "5.7.44-rds.20240408". |
static VER_5_7_44_RDS_20240529 | Mysql | Version "5.7.44-rds.20240529". |
static VER_5_7_44_RDS_20240808 | Mysql | Version "5.7.44-rds.20240808". |
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". |
static VER_8_0_29 | Mysql | Version "8.0.29". |
static VER_8_0_30 | Mysql | Version "8.0.30". |
static VER_8_0_31 | Mysql | Version "8.0.31". |
static VER_8_0_32 | Mysql | Version "8.0.32". |
static VER_8_0_33 | Mysql | Version "8.0.33". |
static VER_8_0_34 | Mysql | Version "8.0.34". |
static VER_8_0_35 | Mysql | Version "8.0.35". |
static VER_8_0_36 | Mysql | Version "8.0.36". |
static VER_8_0_37 | Mysql | Version "8.0.37". |
static VER_8_0_39 | Mysql | Version "8.0.39". |
static VER_8_0_40 | Mysql | Version "8.0.40". |
static VER_8_4_3 | Mysql | Version "8.4.3". |
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_54
⚠️ Deprecated: MySQL 5.5.54 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.5.54".
static VER_5_7
Type:
Mysql
Version "5.7" (only a major version, without a specific minor version).
static VER_5_7_16
⚠️ Deprecated: MySQL 5.7.16 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.16".
static VER_5_7_17
⚠️ Deprecated: MySQL 5.7.17 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.17".
static VER_5_7_19
⚠️ Deprecated: MySQL 5.7.19 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.19".
static VER_5_7_21
⚠️ Deprecated: MySQL 5.7.21 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.21".
static VER_5_7_22
⚠️ Deprecated: MySQL 5.7.22 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.22".
static VER_5_7_23
⚠️ Deprecated: MySQL 5.7.23 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.23".
static VER_5_7_24
⚠️ Deprecated: MySQL 5.7.24 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.24".
static VER_5_7_25
⚠️ Deprecated: MySQL 5.7.25 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.25".
static VER_5_7_26
⚠️ Deprecated: MySQL 5.7.26 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.26".
static VER_5_7_28
⚠️ Deprecated: MySQL 5.7.28 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.28".
static VER_5_7_30
⚠️ Deprecated: MySQL 5.7.30 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.30".
static VER_5_7_31
⚠️ Deprecated: MySQL 5.7.31 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.31".
static VER_5_7_33
⚠️ Deprecated: MySQL 5.7.33 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.33".
static VER_5_7_34
⚠️ Deprecated: MySQL 5.7.34 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.34".
static VER_5_7_35
⚠️ Deprecated: MySQL 5.7.35 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.35".
static VER_5_7_36
⚠️ Deprecated: MySQL 5.7.36 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.36".
static VER_5_7_37
⚠️ Deprecated: MySQL 5.7.37 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.37".
static VER_5_7_38
⚠️ Deprecated: MySQL 5.7.38 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.38".
static VER_5_7_39
⚠️ Deprecated: MySQL 5.7.39 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.39".
static VER_5_7_40
⚠️ Deprecated: MySQL 5.7.40 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.40".
static VER_5_7_41
⚠️ Deprecated: MySQL 5.7.41 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.41".
static VER_5_7_42
⚠️ Deprecated: MySQL 5.7.42 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.42".
static VER_5_7_43
⚠️ Deprecated: MySQL 5.7.43 is no longer supported by Amazon RDS.
Type:
Mysql
Version "5.7.43".
static VER_5_7_44
Type:
Mysql
Version "5.7.44".
static VER_5_7_44_RDS_20240408
Type:
Mysql
Version "5.7.44-rds.20240408".
static VER_5_7_44_RDS_20240529
Type:
Mysql
Version "5.7.44-rds.20240529".
static VER_5_7_44_RDS_20240808
Type:
Mysql
Version "5.7.44-rds.20240808".
static VER_8_0
Type:
Mysql
Version "8.0" (only a major version, without a specific minor version).
static VER_8_0_11
⚠️ Deprecated: MySQL 8.0.11 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.11".
static VER_8_0_13
⚠️ Deprecated: MySQL 8.0.13 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.13".
static VER_8_0_15
⚠️ Deprecated: MySQL 8.0.15 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.15".
static VER_8_0_16
⚠️ Deprecated: MySQL 8.0.16 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.16".
static VER_8_0_17
⚠️ Deprecated: MySQL 8.0.17 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.17".
static VER_8_0_19
⚠️ Deprecated: MySQL 8.0.19 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.19".
static VER_8_0_20
⚠️ Deprecated: MySQL 8.0.20 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.20".
static VER_8_0_21
⚠️ Deprecated: MySQL 8.0.21 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.21".
static VER_8_0_23
⚠️ Deprecated: MySQL 8.0.23 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.23".
static VER_8_0_25
⚠️ Deprecated: MySQL 8.0.25 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.25".
static VER_8_0_26
⚠️ Deprecated: MySQL 8.0.26 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.26".
static VER_8_0_27
⚠️ Deprecated: MySQL 8.0.27 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.27".
static VER_8_0_28
⚠️ Deprecated: MySQL 8.0.28 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.28".
static VER_8_0_29
⚠️ Deprecated: MySQL 8.0.29 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.29".
static VER_8_0_30
⚠️ Deprecated: MySQL 8.0.30 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.30".
static VER_8_0_31
⚠️ Deprecated: MySQL 8.0.31 is no longer supported by Amazon RDS.
Type:
Mysql
Version "8.0.31".
static VER_8_0_32
Type:
Mysql
Version "8.0.32".
static VER_8_0_33
Type:
Mysql
Version "8.0.33".
static VER_8_0_34
Type:
Mysql
Version "8.0.34".
static VER_8_0_35
Type:
Mysql
Version "8.0.35".
static VER_8_0_36
Type:
Mysql
Version "8.0.36".
static VER_8_0_37
Type:
Mysql
Version "8.0.37".
static VER_8_0_39
Type:
Mysql
Version "8.0.39".
static VER_8_0_40
Type:
Mysql
Version "8.0.40".
static VER_8_4_3
Type:
Mysql
Version "8.4.3".
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.