Interface MySqlInstanceEngineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MySqlInstanceEngineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.213Z")
@Stability(Stable)
public interface MySqlInstanceEngineProps
extends software.amazon.jsii.JsiiSerializable
Properties for MySQL instance engines.
Used in 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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forMySqlInstanceEngineProps
static final class
An implementation forMySqlInstanceEngineProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersion
The exact version of the engine to use. -
builder
- Returns:
- a
MySqlInstanceEngineProps.Builder
ofMySqlInstanceEngineProps
-