MySqlInstanceEngineProps

class aws_cdk.aws_rds.MySqlInstanceEngineProps(*, version)

Bases: object

Properties for MySQL instance engines.

Used in {@link DatabaseInstanceEngine.mysql}.

Parameters:

version (MysqlEngineVersion) – The exact version of the engine to use.

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc

role = iam.Role(self, "RDSDirectoryServicesRole",
    assumed_by=iam.ServicePrincipal("rds.amazonaws.com"),
    managed_policies=[
        iam.ManagedPolicy.from_aws_managed_policy_name("service-role/AmazonRDSDirectoryServiceAccess")
    ]
)
instance = rds.DatabaseInstance(self, "Instance",
    engine=rds.DatabaseInstanceEngine.mysql(version=rds.MysqlEngineVersion.VER_8_0_19),
    vpc=vpc,
    domain="d-????????",  # The ID of the domain for the instance to join.
    domain_role=role
)

Attributes

version

The exact version of the engine to use.