@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.496Z") @Stability(value=Stable) public interface MySqlInstanceEngineProps extends software.amazon.jsii.JsiiSerializable
Used in {@link DatabaseInstanceEngine.mysql}.
Example:
Vpc vpc;
Role role = Role.Builder.create(this, "RDSDirectoryServicesRole")
.assumedBy(new ServicePrincipal("rds.amazonaws.com"))
.managedPolicies(List.of(ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonRDSDirectoryServiceAccess")))
.build();
DatabaseInstance instance = DatabaseInstance.Builder.create(this, "Instance")
.engine(DatabaseInstanceEngine.mysql(MySqlInstanceEngineProps.builder().version(MysqlEngineVersion.VER_8_0_19).build()))
.vpc(vpc)
.domain("d-????????") // The ID of the domain for the instance to join.
.domainRole(role)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MySqlInstanceEngineProps.Builder
A builder for
MySqlInstanceEngineProps |
static class |
MySqlInstanceEngineProps.Jsii$Proxy
An implementation for
MySqlInstanceEngineProps |
| Modifier and Type | Method and Description |
|---|---|
static MySqlInstanceEngineProps.Builder |
builder() |
MysqlEngineVersion |
getVersion()
The exact version of the engine to use.
|
@Stability(value=Stable) @NotNull MysqlEngineVersion getVersion()
@Stability(value=Stable) static MySqlInstanceEngineProps.Builder builder()
MySqlInstanceEngineProps.Builder of MySqlInstanceEnginePropsCopyright © 2022. All rights reserved.