MySqlInstanceEngineProps
- class aws_cdk.aws_rds.MySqlInstanceEngineProps(*, version)
Bases:
object
Properties for MySQL instance engines.
Used in
DatabaseInstanceEngine.mysql
.- Parameters:
version (
MysqlEngineVersion
) – The exact version of the engine to use.- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc # kms_key: kms.Key instance = rds.DatabaseInstance(self, "Instance", engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_39), instance_type=ec2.InstanceType.of(ec2.InstanceClass.R7G, ec2.InstanceSize.LARGE), vpc=vpc, enable_performance_insights=True, performance_insight_retention=rds.PerformanceInsightRetention.LONG_TERM, performance_insight_encryption_key=kms_key )
Attributes
- version
The exact version of the engine to use.