interface MySqlInstanceEngineProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RDS.MySqlInstanceEngineProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#MySqlInstanceEngineProps |
Java | software.amazon.awscdk.services.rds.MySqlInstanceEngineProps |
Python | aws_cdk.aws_rds.MySqlInstanceEngineProps |
TypeScript (source) | aws-cdk-lib » aws_rds » MySqlInstanceEngineProps |
Properties for MySQL instance engines.
Used in DatabaseInstanceEngine.mysql.
Example
declare const vpc: ec2.Vpc;
declare const kmsKey: kms.Key;
const instance = new rds.DatabaseInstance(this, 'Instance', {
engine: rds.DatabaseInstanceEngine.mysql({ version: rds.MysqlEngineVersion.VER_8_0_39 }),
instanceType: ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE),
vpc,
enablePerformanceInsights: true,
performanceInsightRetention: rds.PerformanceInsightRetention.LONG_TERM,
performanceInsightEncryptionKey: kmsKey,
});
Properties
| Name | Type | Description |
|---|---|---|
| version | Mysql | The exact version of the engine to use. |
version
Type:
Mysql
The exact version of the engine to use.

.NET
Go
Java
Python
TypeScript (