aws/aws-advanced-jdbc-wrapper

The Amazon Web Services JDBC Driver has been redesigned as an advanced JDBC wrapper. This wrapper is complementary to and extends the functionality of an existing JDBC driver to help an application take advantage of the features of clustered databases such as Amazon Aurora.

Java

360

1,553 commits

updated Sep 29, 2026

See the code

README

[!NOTE] 📊 We want to hear from you — community survey is open

Help us get to know who's using the AWS Advanced JDBC Wrapper. The survey is a single GitHub Discussion with one question per comment. You answer by reacting with emojis — pick all that apply, multi-select is supported.

  • Takes about 3–5 minutes
  • Covers usage, deployment topology, plugins, frameworks, and your experience
  • Every reaction is visible to the community; total participants are counted from a single 👍 on the participation comment

👉 Take the survey

Amazon Web Services (AWS) JDBC Driver

build_status License Maven Central Javadoc OpenSSF Scorecard

The Amazon Web Services (AWS) JDBC Driver has been redesigned as an advanced JDBC wrapper.

The wrapper is complementary to an existing JDBC driver and aims to extend the functionality of the driver to enable applications to take full advantage of the features of clustered databases such as Amazon Aurora. In other words, the AWS Advanced JDBC Wrapper does not connect directly to any database, but enables support of AWS and Aurora functionalities on top of an underlying JDBC driver of the user's choice. This approach enables service-specific enhancements, without requiring users to change their workflow and existing JDBC driver tooling.

The AWS Advanced JDBC Wrapper is targeted to work with any existing JDBC driver. Currently, the AWS Advanced JDBC Wrapper has been validated to support the PostgreSQL JDBC Driver, MySQL JDBC Driver, and MariaDB JDBC Driver (with some caveats, see below).

The AWS Advanced JDBC Wrapper provides modular functionality through feature plugins, with each plugin being relevant to specific database services based on their architecture and capabilities. For example, AWS Identity and Access Management (IAM) authentication is supported across multiple services, while AWS Secrets Manager applies to services that support password-based authentication. The fast failover plugin provides reduced recovery time during failover for Aurora PostgreSQL and Aurora MySQL clusters.

Benefits of the AWS Advanced JDBC Wrapper for All Aurora and RDS Database Services

Seamless AWS Authentication Service Integration

Built-in support for AWS Identity and Access Management (IAM) authentication eliminates the need to manage database passwords, while AWS Secrets Manager integration provides secure credential management for services that require password-based authentication.

Seamless Query Caching Integration

The driver includes Remote Query Cache Plugin that stores cacheable read-only query results in a remote Valkey cache along with support for plain username/password authentication and IAM authentication with AWS ElastiCache. Applications can opt‑in per query using a SQL query hint that specifies a time‑to‑live (TTL).

Database multi-tenancy protection is disabled by default. Enable cacheEnableDatabaseMultiTenancy when query visibility depends on supported database authorization or session state. The protection covers only documented PostgreSQL and MySQL/MariaDB session state and is not a complete tenant-isolation boundary. See the Remote Query Cache Plugin for supported operations, limitations, application security requirements, and performance implications.

Preserve Existing Workflows

The wrapper design allows developers to continue using their preferred JDBC drivers and existing database code while gaining service-specific enhancements. No application rewrites are required.

Modular Plugin Architecture

The plugin-based design ensures applications only load the functionality they need, reducing dependencies and overhead.

Benefits of the AWS Advanced JDBC Wrapper for Aurora PostgreSQL, Aurora MySQL, and RDS

Faster Failover and Reduced Downtime

For Aurora PostgreSQL, Aurora MySQL, and RDS Multi-AZ DB clusters, the driver significantly reduces connection recovery time during database failovers. By maintaining a real-time cache of cluster topology and bypassing DNS resolution delays, applications can reconnect to healthy database instances in seconds rather than minutes.

Enhanced Failure Detection

The driver includes Enhanced Failure Monitoring (EFM) that proactively monitors database node health, detecting failures faster than traditional timeout-based approaches. This allows applications to respond to issues before they impact end users.

Using the AWS Advanced JDBC Wrapper with...

Amazon Aurora PostgreSQL and Aurora MySQL

The AWS Advanced JDBC Wrapper provides fast failover capabilities for Aurora PostgreSQL and Aurora MySQL clusters, significantly reducing connection recovery time during database failovers.

Visit Using Failover 2 for more details.

Amazon RDS Multi-AZ DB Clusters

The AWS RDS Multi-AZ DB Clusters are capable of switching over the current writer node to another node in the cluster within approximately 1 second or less, in case of minor engine version upgrade or OS maintenance operations. The AWS Advanced JDBC Wrapper has been optimized for such fast failover when working with AWS RDS Multi-AZ DB Clusters.

With the failover plugin, the downtime during certain DB cluster operations, such as engine minor version upgrades, can be reduced to one second or even less with finely tuned parameters. It supports both MySQL and PostgreSQL clusters.

Visit Support for RDS MultiAZ for more details.

Using the AWS Advanced JDBC Wrapper with Amazon Aurora Global Databases

As of version 3.0.0, the driver supports in-region failover and cross-region planned failover and switchover of Amazon Aurora Global Databases. A Global Writer Endpoint is also recognized and can be handled to minimize potential stale DNS issues. Please check failover plugin, failover2 plugin and Aurora Initial Connection Strategy plugin for more information.

For detailed configuration instructions, see Aurora Global Databases.

Plain Amazon RDS databases

The AWS Advanced JDBC Wrapper also provides limited functionality for RDS provided databases that are not Aurora, see the compatibility matrix for details.

RDS Proxy

As of version 3.0.0 the Simple R/W Splitting Plugin can be used with RDS Proxy. There are limitations with the AWS Advanced JDBC Wrapper and RDS Proxy. This is currently intended, by design, since the main reason is that RDS Proxy transparently re-routes requests to a single database instance. RDS Proxy decides which database instance is used based on many criteria (on a per-request basis). Due to this, functionality like Failover, Enhanced Host Monitoring, and Read/Write Splitting is not compatible since the driver relies on cluster topology and RDS Proxy handles this automatically.

The driver remains useful with RDS Proxy for authentication workflows, such as IAM authentication and AWS Secrets Manager integration. See Compatibility for compatibility information and refer to the using plugins documentation for details.

Visit Using Plain RDS for more details.

Getting Started

For more information on how to download the AWS Advanced JDBC Wrapper, minimum requirements to use it, and how to integrate it within your project and with your JDBC driver of choice, please visit the Getting Started page.

Maven Central

You can find our driver by searching in The Central Repository with GroupId and ArtifactId software.amazon:aws-advanced-jdbc-wrapper.

Maven Central

<!-- Add the following dependency to your pom.xml, -->
<!-- replacing LATEST with the specific version as required -->

<dependency>
  <groupId>software.amazon.jdbc</groupId>
  <artifactId>aws-advanced-jdbc-wrapper</artifactId>
  <version>LATEST</version>
</dependency>

Configuring the Driver with AI Tools

The driver ships with a self-contained configuration assistant skill, JDBC-WRAPPER-CONFIGURATION-ASSISTANT.md, that you can drop into your AI tool's knowledge base (Kiro, Cursor, Claude Projects, ChatGPT, Amazon Bedrock, GitHub Copilot, etc.) to help build, review, or troubleshoot wrapper configurations.

For drop-in locations, example prompts, and usage details, see Configuring the Driver with AI Tools in the Getting Started guide.

Properties

ParameterAvailable Since VersionReferenceDocumentation Link
activeHomeFailoverMode3.2.0GlobalDbFailoverConnectionPlugin.ACTIVE_HOME_FAILOVER_MODEGlobal Database (GDB) Failover Plugin
allowAwsLoginSession4.4.0PropertyDefinition.ALLOW_AWS_LOGIN_SESSIONAWS IAM Authentication Plugin
allowStatementRecreationOnConnectionSwitch4.4.0UnifiedReadWriteSplittingPlugin.ALLOW_STATEMENT_RECREATION_ON_CONNECTION_SWITCHRead/Write Splitting Plugin
appId2.3.6OktaAuthPlugin.APP_IDOkta Authentication Plugin
assumeWriteTransaction4.4.0UnifiedReadWriteSplittingPlugin.ASSUME_WRITE_TRANSACTIONAutomatic Read/Write Splitting Plugin
auditLoggingEnabled4.0.0EncryptionConfig.AUDIT_LOGGING_ENABLEDKMS Encryption Plugin
autoSortWrapperPluginOrder2.2.4PropertyDefinition.AUTO_SORT_PLUGIN_ORDERPlugins
awsProfile2.3.3PropertyDefinition.AWS_PROFILEAWS Advanced JDBC Wrapper Parameters
bgBaselineMs2.6.0BlueGreenStatusProvider.BG_INTERVAL_BASELINE_MSBlue/Green Deployment Plugin
bgDeploymentRemovedGraceMs4.5.0BlueGreenStatusProvider.BG_DEPLOYMENT_REMOVED_GRACE_MSBlue/Green Deployment Plugin
bgdId2.6.0BlueGreenConnectionPlugin.BGD_IDBlue/Green Deployment Plugin
bgConnectTimeoutMs2.6.0BlueGreenConnectionPlugin.BG_CONNECT_TIMEOUTBlue/Green Deployment Plugin
bgDropBlueConnections3.3.0BlueGreenStatusProvider.BG_DROP_BLUE_CONNECTIONSBlue/Green Deployment Plugin
bgEndpointUnreachableMs4.5.0BlueGreenStatusProvider.BG_ENDPOINT_UNREACHABLE_MSBlue/Green Deployment Plugin
bgHighMs2.6.0BlueGreenStatusProvider.BG_INTERVAL_HIGH_MSBlue/Green Deployment Plugin
bgIncreasedMs2.6.0BlueGreenStatusProvider.BG_INTERVAL_INCREASED_MSBlue/Green Deployment Plugin
bgReleaseOnBlueDnsUpdate4.4.0BlueGreenStatusProvider.BG_RELEASE_ON_BLUE_DNS_UPDATEBlue/Green Deployment Plugin
bgSwitchoverTimeoutMs2.6.0BlueGreenStatusProvider.BG_SWITCHOVER_TIMEOUT_MSBlue/Green Deployment Plugin
cachedReaderKeepAliveTimeoutMs3.0.0UnifiedReadWriteSplittingPlugin.CACHED_READER_KEEP_ALIVE_TIMEOUTRead/Write Splitting Plugin
clusterId0.1.0RdsHostListProvider.CLUSTER_IDClusterId
clusterInstanceHostPattern0.1.0RdsHostListProvider.CLUSTER_INSTANCE_HOST_PATTERNFailover Plugin
clusterTopologyHighRefreshRateMs2.4.0RdsHostListProvider.CLUSTER_TOPOLOGY_HIGH_REFRESH_RATE_MSFailover Plugin v2
clusterTopologyRefreshRateMs0.1.0RdsHostListProvider.CLUSTER_TOPOLOGY_REFRESH_RATE_MSFailover Plugin v2
connectTimeout2.3.1PropertyDefinition.CONNECT_TIMEOUTAWS Advanced JDBC Wrapper Parameters
connectionPoolType3.1.0PropertyDefinition.CONNECTION_POOL_TYPEAWS Advanced JDBC Wrapper Parameters
customEndpointInfoMaxRefreshRateMs3.1.0CustomEndpointPlugin.CUSTOM_ENDPOINT_INFO_MAX_REFRESH_RATE_MSCustom Endpoint Plugin
customEndpointInfoRefreshRateBackoffFactor3.1.0CustomEndpointPlugin.CUSTOM_ENDPOINT_INFO_REFRESH_RATE_BACKOFF_FACTORCustom Endpoint Plugin
customEndpointInfoRefreshRateMs2.5.0CustomEndpointPlugin.CUSTOM_ENDPOINT_INFO_REFRESH_RATE_MSCustom Endpoint Plugin
customEndpointMonitorExpirationMs2.5.0CustomEndpointPlugin.CUSTOM_ENDPOINT_MONITOR_IDLE_EXPIRATION_MSCustom Endpoint Plugin
customEndpointRegion2.5.0CustomEndpointPlugin.REGION_PROPERTYCustom Endpoint Plugin
dataCacheMaxSize4.4.0DataLocalCacheConnectionPlugin.DATA_CACHE_MAX_SIZEData Local Cache Plugin
dataCacheTriggerCondition0.1.0DataLocalCacheConnectionPlugin.DATA_CACHE_TRIGGER_CONDITIONData Local Cache Plugin
dataCacheTtlMs4.4.0DataLocalCacheConnectionPlugin.DATA_CACHE_TTL_MSData Local Cache Plugin
dataKeyCacheEnabled4.0.0EncryptionConfig.DATA_KEY_CACHE_ENABLEDKMS Encryption Plugin
dataKeyCacheExpirationMs4.0.0EncryptionConfig.DATA_KEY_CACHE_EXPIRATION_MSKMS Encryption Plugin
dataKeyCacheMaxSize4.0.0EncryptionConfig.DATA_KEY_CACHE_MAX_SIZEKMS Encryption Plugin
cacheEndpointAddrRw3.3.0CacheConnection.CACHE_RW_ENDPOINT_ADDRRemote Query Cache Plugin
cacheEndpointAddrRo3.3.0CacheConnection.CACHE_RO_ENDPOINT_ADDRRemote Query Cache Plugin
cacheUseSSL3.3.0CacheConnection.CACHE_USE_SSLRemote Query Cache Plugin
cacheTlsCaCertPath3.3.0CacheConnection.CACHE_TLS_CA_CERT_PATHRemote Query Cache Plugin
cacheUsername3.3.0CacheConnection.CACHE_USERNAMERemote Query Cache Plugin
cachePassword3.3.0CacheConnection.CACHE_PASSWORDRemote Query Cache Plugin
cacheName3.3.0CacheConnection.CACHE_NAMERemote Query Cache Plugin
cacheIamRegion3.3.0CacheConnection.CACHE_IAM_REGIONRemote Query Cache Plugin
cacheMaxQuerySize3.3.0RemoteQueryCachePlugin.CACHE_MAX_QUERY_SIZERemote Query Cache Plugin
cacheEnableDatabaseMultiTenancy4.5.0RemoteQueryCachePlugin.CACHE_ENABLE_DATABASE_MULTI_TENANCYRemote Query Cache Plugin
cacheConnectionTimeoutMs3.3.0CacheConnection.CACHE_CONNECTION_TIMEOUTRemote Query Cache Plugin
cacheConnectionPoolSize3.3.0CacheConnection.CACHE_CONNECTION_POOL_SIZERemote Query Cache Plugin
cacheKeyPrefix3.3.0CacheConnection.CACHE_KEY_PREFIXRemote Query Cache Plugin
dbUser2.3.2FederatedAuthPlugin.DB_USERFederated Authentication Plugin
dbUser2.3.2OktaAuthPlugin.DB_USEROkta Authentication Plugin
enableConnectFailover2.4.0FailoverConnectionPlugin.ENABLE_CONNECT_FAILOVERFailover Plugin
enableGreenNodeReplacement2.3.6PropertyDefinition.ENABLE_GREEN_NODE_REPLACEMENTAWS Advanced JDBC Wrapper Parameters
failoverHomeRegion3.2.0GlobalDbFailoverConnectionPlugin.FAILOVER_HOME_REGIONGlobal Database (GDB) Failover Plugin
failWhenCacheDown3.3.0CacheConnection.FAIL_WHEN_CACHE_DOWNRemote Query Cache Plugin
cacheInFlightWriteSizeLimitBytes3.3.0CacheMonitor.CACHE_IN_FLIGHT_WRITE_SIZE_LIMITRemote Query Cache Plugin
cacheHealthCheckInHealthyState3.3.0CacheMonitor.CACHE_HEALTH_CHECK_IN_HEALTHY_STATERemote Query Cache Plugin
cacheAllowStreamSource4.3.0RemoteQueryCachePlugin.CACHE_ALLOW_STREAM_SOURCERemote Query Cache Plugin
cacheAllowUrl4.3.0RemoteQueryCachePlugin.CACHE_ALLOW_URLRemote Query Cache Plugin
database0.1.0PropertyDefinition.DATABASEAWS Advanced JDBC Wrapper Parameters
defaultHostAvailabilityStrategy2.2.4HostAvailabilityStrategyFactory.DEFAULT_HOST_AVAILABILITY_STRATEGYHost Availability Strategy
enableClusterAwareFailover0.1.0FailoverConnectionPlugin.ENABLE_CLUSTER_AWARE_FAILOVERFailover Plugin
enableTelemetry2.3.0PropertyDefinition.ENABLE_TELEMETRYMonitoring
endpointSubstitutionRole3.1.0AuroraInitialConnectionStrategyPlugin.ENDPOINT_SUBSTITUTION_ROLEAurora Initial Connection Strategy Plugin
enhancedLogQueryEnabled0.1.0LogQueryConnectionPlugin.ENHANCED_LOG_QUERY_ENABLEDUsing the AWS Advanced JDBC Wrapper
encryptionMetadataSchema4.0.0EncryptionConfig.ENCRYPTION_METADATA_SCHEMAKMS Encryption Plugin
failoverClusterTopologyRefreshRateMs0.1.0FailoverConnectionPlugin.FAILOVER_CLUSTER_TOPOLOGY_REFRESH_RATE_MSFailover Plugin
failoverMode2.1.0FailoverConnectionPlugin.FAILOVER_MODEFailover Plugin
failoverReaderConnectTimeoutMs0.1.0FailoverConnectionPlugin.FAILOVER_READER_CONNECT_TIMEOUT_MSFailover Plugin
failoverReaderHostSelectorStrategy2.4.0FailoverConnectionPlugin.FAILOVER_READER_HOST_SELECTOR_STRATEGYFailover Plugin v2
failoverTimeoutMs0.1.0FailoverConnectionPlugin.FAILOVER_TIMEOUT_MSFailover Plugin
Failover Plugin v2
failoverWriterReconnectIntervalMs0.1.0FailoverConnectionPlugin.FAILOVER_WRITER_RECONNECT_INTERVAL_MSFailover Plugin
failureDetectionCount0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_COUNTHost Monitoring Plugin
failureDetectionEnabled0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_ENABLEDHost Monitoring Plugin
failureDetectionInterval0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_INTERVALHost Monitoring Plugin
failureDetectionTime0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_TIMEHost Monitoring Plugin
gdbEnableGlobalWriteForwarding4.0.0GdbSettings.ENABLE_GWFGlobal Database (GDB) Read/Write Splitting Plugin
gdbRwHomeRegion3.2.0GdbReadWriteSplittingPlugin.RW_HOME_REGIONGlobal Database (GDB) Read/Write Splitting Plugin
gdbRwRestrictReaderToHomeRegion3.2.0GdbReadWriteSplittingPlugin.RESTRICT_READER_TO_HOME_REGIONGlobal Database (GDB) Read/Write Splitting Plugin
gdbRwRestrictWriterToHomeRegion3.2.0GdbReadWriteSplittingPlugin.RESTRICT_WRITER_TO_HOME_REGIONGlobal Database (GDB) Read/Write Splitting Plugin
gdbAccessibleRegions4.1.0PropertyDefinition.GDB_ACCESSIBLE_REGIONSGlobal Database (GDB) Failover Plugin
Global Database (GDB) Read/Write Splitting Plugin
gdbMonitoringConnectionPriority4.1.0GdbMonitoringConnectionHandler.GDB_MONITORING_CONNECTION_PRIORITYGlobal Database (GDB) Failover Plugin
globalClusterInstanceHostPatterns3.0.0GlobalAuroraHostListProvider.GLOBAL_CLUSTER_INSTANCE_HOST_PATTERNSFailover Plugin v2
Global Database (GDB) Failover Plugin
hostAvailabilityStrategyInitialBackoffTime2.2.4HostAvailabilityStrategyFactory.HOST_AVAILABILITY_STRATEGY_INITIAL_BACKOFF_TIMEHost Availability Strategy
hostAvailabilityStrategyMaxRetries2.2.4HostAvailabilityStrategyFactory.HOST_AVAILABILITY_STRATEGY_MAX_RETRIESHost Availability Strategy
httpClientConnectTimeout2.3.2FederatedAuthPlugin.HTTP_CLIENT_CONNECT_TIMEOUTFederated Authentication Plugin
httpClientConnectTimeout2.3.2OktaAuthPlugin.HTTP_CLIENT_CONNECT_TIMEOUTOkta Authentication Plugin
httpClientSocketTimeout2.3.2FederatedAuthPlugin.HTTP_CLIENT_SOCKET_TIMEOUTFederated Authentication Plugin
httpClientSocketTimeout2.3.2OktaAuthPlugin.HTTP_CLIENT_SOCKET_TIMEOUTOkta Authentication Plugin
iamAccessTokenPropertyName3.0.0IamAuthConnectionPlugin.IAM_TOKEN_PROPERTY_NAMEAWS IAM Authentication Plugin
iamDefaultPort0.1.0IamAuthConnectionPlugin.IAM_DEFAULT_PORTAWS IAM Authentication Plugin
iamExpiration0.1.0IamAuthConnectionPlugin.IAM_EXPIRATIONAWS IAM Authentication Plugin
iamHost1.0.1IamAuthConnectionPlugin.IAM_HOSTAWS IAM Authentication Plugin
iamIdpArn2.3.2OktaAuthPlugin.IAM_IDP_ARNOkta Authentication Plugin
iamRegion0.1.0IamAuthConnectionPlugin.IAM_REGIONAWS IAM Authentication Plugin
iamRoleArn2.3.2FederatedAuthPlugin.IAM_ROLE_ARNFederated Authentication Plugin
iamRoleArn2.3.2OktaAuthPlugin.IAM_ROLE_ARNOkta Authentication Plugin
iamTokenExpiration2.3.2FederatedAuthPlugin.IAM_TOKEN_EXPIRATIONFederated Authentication Plugin
iamTokenExpiration2.3.2OktaAuthPlugin.IAM_TOKEN_EXPIRATIONOkta Authentication Plugin
idpEndpoint2.3.2FederatedAuthPlugin.IDP_ENDPOINTFederated Authentication Plugin
idpEndpoint2.3.2OktaAuthPlugin.IDP_ENDPOINTOkta Authentication Plugin
idpName2.3.2FederatedAuthPlugin.IDP_NAMEFederated Authentication Plugin
idpPassword2.3.2FederatedAuthPlugin.IDP_PASSWORDFederated Authentication Plugin
idpPassword2.3.2OktaAuthPlugin.IDP_PASSWORDOkta Authentication Plugin
idpPort2.3.2FederatedAuthPlugin.IDP_PORTFederated Authentication Plugin
idpUsername2.3.2FederatedAuthPlugin.IDP_USERNAMEFederated Authentication Plugin
idpUsername2.3.2OktaAuthPlugin.IDP_USERNAMEOkta Authentication Plugin
inactiveClusterWriterEndpointSubstitutionRole3.2.0AuroraInitialConnectionStrategyPlugin.INACTIVE_CLUSTER_WRITER_SUBSTITUTION_ROLEAurora Initial Connection Strategy Plugin
inactiveHomeFailoverMode3.2.0GlobalDbFailoverConnectionPlugin.INACTIVE_HOME_FAILOVER_MODEGlobal Database (GDB) Failover Plugin
initialConnectionHostSelectorStrategy3.1.0AuroraInitialConnectionStrategyPlugin.HOST_SELECTOR_STRATEGYAurora Initial Connection Strategy Plugin
keyManagementMaxRetries4.0.0EncryptionConfig.KEY_MANAGEMENT_MAX_RETRIESKMS Encryption Plugin
keyManagementRetryBackoffBaseMs4.0.0EncryptionConfig.KEY_MANAGEMENT_RETRY_BACKOFF_BASE_MSKMS Encryption Plugin
kms.region4.0.0EncryptionConfig.KMS_REGIONKMS Encryption Plugin
limitlessConnectMaxRetries2.4.0LimitlessConnectionPlugin.MAX_RETRIESUsing the Limitless Connection Plugin
limitlessGetTransactionRouterInfoMaxRetries2.4.0LimitlessConnectionPlugin.GET_ROUTER_MAX_RETRIESUsing the Limitless Connection Plugin
limitlessGetTransactionRouterInfoRetryIntervalMs2.4.0LimitlessConnectionPlugin.GET_ROUTER_RETRY_INTERVAL_MILLISUsing the Limitless Connection Plugin
limitlessTransactionRouterMonitorDisposalTimeMs2.4.0LimitlessRouterServiceImpl.MONITOR_DISPOSAL_TIME_MSUsing the Limitless Connection Plugin
limitlessTransactionRouterMonitorIntervalMs2.4.0LimitlessConnectionPlugin.INTERVAL_MILLISUsing the Limitless Connection Plugin
limitlessWaitForTransactionRouterInfo2.4.0LimitlessConnectionPlugin.WAIT_FOR_ROUTER_INFOUsing the Limitless Connection Plugin
loadBalancingIncludeWriter4.2.0UnifiedReadWriteSplittingPlugin.LOAD_BALANCING_INCLUDE_WRITERRead/Write Splitting Plugin
loginTimeout2.2.0PropertyDefinition.LOGIN_TIMEOUTAWS Advanced JDBC Wrapper Parameters
metadataCacheEnabled4.0.0EncryptionConfig.METADATA_CACHE_ENABLEDKMS Encryption Plugin
metadataCacheExpirationMinutes4.0.0EncryptionConfig.METADATA_CACHE_EXPIRATION_MINUTESKMS Encryption Plugin
metadataCacheRefreshIntervalMs4.0.0EncryptionConfig.METADATA_CACHE_REFRESH_INTERVAL_MSKMS Encryption Plugin
monitorDisposalTime0.1.0HostMonitorServiceImpl.MONITOR_DISPOSAL_TIME_MSHost Monitoring Plugin
monitoringConnectionPriority4.1.0AuroraMonitoringConnectionHandler.MONITORING_CONNECTION_PRIORITYGlobal Database (GDB) Failover Plugin
openConnectionRetryIntervalMs2.3.1AuroraInitialConnectionStrategyPlugin.OPEN_CONNECTION_RETRY_INTERVAL_MSAurora Initial Connection Strategy Plugin
openConnectionRetryTimeoutMs2.3.1AuroraInitialConnectionStrategyPlugin.OPEN_CONNECTION_RETRY_TIMEOUT_MSAurora Initial Connection Strategy Plugin
password0.1.0PropertyDefinition.PASSWORDAWS Advanced JDBC Wrapper Parameters
queryLevelLoadBalancing4.2.0UnifiedReadWriteSplittingPlugin.QUERY_LEVEL_LOAD_BALANCINGRead/Write Splitting Plugin
readerHostSelectorStrategy2.0.0ReadWriteSplittingPlugin.READER_HOST_SELECTOR_STRATEGYRead/Write Splitting Plugin
readerInitialConnectionHostSelectorStrategy2.3.1AuroraInitialConnectionStrategyPlugin.READER_HOST_SELECTOR_STRATEGYAurora Initial Connection Strategy Plugin
resetSessionStateOnClose2.3.3PropertyDefinition.RESET_SESSION_STATE_ON_CLOSEAWS Advanced JDBC Wrapper Parameters
responseMeasurementIntervalMs2.3.2FastestResponseStrategyPlugin.RESPONSE_MEASUREMENT_INTERVAL_MILLISUsing the AWS Advanced JDBC Wrapper
rollbackOnSwitch2.3.3PropertyDefinition.ROLLBACK_ON_SWITCHAWS Advanced JDBC Wrapper Parameters
roundRobinDefaultWeight2.2.5RoundRobinHostSelector.ROUND_ROBIN_DEFAULT_WEIGHTHost Selection Strategies
roundRobinHostWeightPairs2.2.5RoundRobinHostSelector.ROUND_ROBIN_HOST_WEIGHT_PAIRSHost Selection Strategies
rpIdentifier2.3.2FederatedAuthPlugin.RELAYING_PARTY_IDFederated Authentication Plugin
secretsManagerConnectRetryIntervalMs4.4.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_CONNECT_RETRY_INTERVAL_MS_PROPERTYAWS Secrets Manager Plugin
secretsManagerConnectRetryTimeoutMs4.4.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_CONNECT_RETRY_TIMEOUT_MS_PROPERTYAWS Secrets Manager Plugin
secretsManagerEndpoint2.3.0AwsSecretsManagerConnectionPlugin.ENDPOINT_PROPERTYAWS Secrets Manager Plugin
secretsManagerExpirationTimeSec3.1.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_EXPIRATION_SEC_PROPERTYAWS Secrets Manager Plugin
secretsManagerRegion1.0.0AwsSecretsManagerConnectionPlugin.REGION_PROPERTYAWS Secrets Manager Plugin
secretsManagerSecretId1.0.0AwsSecretsManagerConnectionPlugin.SECRET_ID_PROPERTYAWS Secrets Manager Plugin
secretsManagerSecretPasswordProperty3.1.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_SECRET_PASSWORD_PROPERTYAWS Secrets Manager Plugin
secretsManagerSecretUsernameProperty3.1.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_SECRET_USERNAME_PROPERTYAWS Secrets Manager Plugin
singleWriterConnectionString1.0.1ConnectionStringHostListProvider.SINGLE_WRITER_CONNECTION_STRINGRead/Write Splitting Plugin
skipFailoverOnInterruptedThread2.5.5FailoverConnectionPlugin.SKIP_FAILOVER_ON_INTERRUPTED_THREADFailover Plugin
Failover Plugin v2
skipInactiveWriterClusterEndpointCheck3.2.0AuroraStaleDnsHelper.SKIP_INACTIVE_WRITER_CLUSTER_CHECKGlobal Database (GDB) Failover Plugin
skipWrappingForPackages2.6.3PropertyDefinition.SKIP_WRAPPING_FOR_PACKAGESAWS Advanced JDBC Wrapper Parameters
socketTimeout2.3.1PropertyDefinition.SOCKET_TIMEOUTAWS Advanced JDBC Wrapper Parameters
srwConnectRetryIntervalMs3.0.0SimpleReadWriteSplittingPlugin.SRW_CONNECT_RETRY_INTERVAL_MSSimple Read/Write Splitting Plugin
srwConnectRetryTimeoutMs3.0.0SimpleReadWriteSplittingPlugin.SRW_CONNECT_RETRY_TIMEOUT_MSSimple Read/Write Splitting Plugin
srwReadEndpoint3.0.0SimpleReadWriteSplittingPlugin.SRW_READ_ENDPOINTSimple Read/Write Splitting Plugin
srwWriteEndpoint3.0.0SimpleReadWriteSplittingPlugin.SRW_WRITE_ENDPOINTSimple Read/Write Splitting Plugin
sslInsecure2.3.2FederatedAuthPlugin.SSL_INSECUREFederated Authentication Plugin
sslInsecure2.3.2OktaAuthPlugin.SSL_INSECUREOkta Authentication Plugin
targetDriverAutoRegister2.3.1TargetDriverDialectManager.TARGET_DRIVER_AUTO_REGISTERAWS Advanced JDBC Wrapper Parameters
tcpKeepAlive2.3.1PropertyDefinition.TCP_KEEP_ALIVEAWS Advanced JDBC Wrapper Parameters
telemetryFailoverAdditionalTopTrace2.3.0FailoverConnectionPlugin.TELEMETRY_FAILOVER_ADDITIONAL_TOP_TRACEFailover Plugin
telemetryMetricsBackend2.3.0PropertyDefinition.TELEMETRY_METRICS_BACKENDMonitoring
telemetrySubmitToplevel2.3.0PropertyDefinition.TELEMETRY_SUBMIT_TOPLEVELMonitoring
telemetryTracesBackend2.3.0PropertyDefinition.TELEMETRY_TRACES_BACKENDMonitoring
transferSessionStateOnSwitch2.3.3PropertyDefinition.TRANSFER_SESSION_STATE_ON_SWITCHAWS Advanced JDBC Wrapper Parameters
user0.1.0PropertyDefinition.USERAWS Advanced JDBC Wrapper Parameters
verifyInactiveClusterWriterEndpointConnectionType3.2.0AuroraInitialConnectionStrategyPlugin.VERIFY_INACTIVE_CLUSTER_WRITER_CONNECTION_ROLEAurora Initial Connection Strategy Plugin
verifyInitialConnectionRole4.0.0ReadWriteSplittingPlugin.VERIFY_INITIAL_CONNECTION_ROLERead/Write Splitting Plugin
verifyInitialConnectionType3.0.0SimpleReadWriteSplittingPlugin.VERIFY_INITIAL_CONNECTION_TYPESimple Read/Write Splitting Plugin
verifyNewSrwConnections3.0.0SimpleReadWriteSplittingPlugin.VERIFY_NEW_SRW_CONNECTIONSSimple Read/Write Splitting Plugin
verifyOpenedConnectionType2.5.5AuroraInitialConnectionStrategyPlugin.VERIFY_OPENED_CONNECTION_ROLEAurora Initial Connection Strategy Plugin
waitForCustomEndpointInfo2.5.0CustomEndpointPlugin.WAIT_FOR_CUSTOM_ENDPOINT_INFOCustom Endpoint Plugin
waitForCustomEndpointInfoTimeoutMs2.5.0CustomEndpointPlugin.WAIT_FOR_CUSTOM_ENDPOINT_INFO_TIMEOUT_MSCustom Endpoint Plugin
waitForInitialTopologyMs4.1.0AuroraInitialConnectionStrategyPlugin.WAIT_FOR_INITIAL_TOPOLOGY_MSAurora Initial Connection Strategy Plugin
weightedRandomHostWeightPairs2.6.5WeightedRandomHostSelector.WEIGHTED_RANDOM_HOST_WEIGHT_PAIRSHost Availability Strategy
wrapperCaseSensitive2.6.0PropertyDefinition.CASE_SENSITIVEAWS Advanced JDBC Wrapper Parameters
wrapperDialect2.0.0DialectManager.DIALECTDialects
wrapperDriverName1.0.2DriverMetaDataConnectionPlugin.WRAPPER_DRIVER_NAMEDriverMetaDataConnectionPlugin
wrapperLogUnclosedConnections1.0.0PropertyDefinition.LOG_UNCLOSED_CONNECTIONSAWS Advanced JDBC Wrapper Parameters
wrapperLoggerLevel1.0.0PropertyDefinition.LOGGER_LEVELLogging
wrapperPlugins1.0.0PropertyDefinition.PLUGINSAWS Advanced JDBC Wrapper Parameters
wrapperProfileName1.0.0PropertyDefinition.PROFILE_NAMEConfiguration Profiles
wrapperTargetDriverDialect2.2.0TargetDriverDialectManager.TARGET_DRIVER_DIALECTAWS Advanced JDBC Wrapper Parameters

A Secret ARN has the following format: arn:aws:secretsmanager:<Region>:<AccountId>:secret:SecretName-6RandomCharacters

Logging

Enabling logging is a very useful mechanism for troubleshooting any issue one might potentially experience while using the AWS Advanced JDBC Wrapper.

In order to learn how to enable and configure logging, check out the Logging section.

Documentation

Technical documentation regarding the functionality of the AWS Advanced JDBC Wrapper will be maintained in this GitHub repository. Since the AWS Advanced JDBC Wrapper requires an underlying JDBC driver, please refer to the individual driver's documentation for driver-specific information.

Using the AWS Advanced JDBC Wrapper

To find all the documentation and concrete examples on how to use the AWS Advanced JDBC Wrapper, please refer to the AWS Advanced JDBC Wrapper Documentation page.

Known Limitations

MariaDB

The MariaDB driver uses pipelining for some optimizations, and Aurora does not support pipelining. MariaDB removed its own aurora failover mode in MariaDB Connector/J 3.0 for that reason. The AWS Advanced JDBC Wrapper does not use that mode, because it provides failover itself.

The wrapper's integration tests cover MariaDB Connector/J 3.5.x against Aurora MySQL. MariaDB Connector/J 3.x enables its pipelining-dependent features only when the server advertises MariaDB bulk-operation support, which Aurora MySQL does not, so those features are not used in that configuration.

To disable pipelining explicitly, use the property that matches your driver version:

  • MariaDB Connector/J 3.1 and above: set disablePipeline to true.
  • MariaDB Connector/J 2.x: set usePipelineAuth and useBatchMultiSend to false.
// MariaDB Connector/J 3.1 and above
Properties props = new Properties();
props.setProperty("disablePipeline", "true");

Note that usePipelineAuth and useBatchMultiSend do not exist in MariaDB Connector/J 3.x; they were removed in version 3.0. MariaDB Connector/J accepts unknown properties without raising an error, so setting them on a 3.x driver has no effect.

Amazon RDS Blue/Green Deployments

Support for Blue/Green deployments using the AWS Advanced JDBC Wrapper requires specific metadata tables. The following service versions provide support for Blue/Green Deployments:

  • Supported RDS PostgreSQL Versions: rds_tools v1.7 (17.1, 16.5, 15.9, 14.14, 13.17, 12.21) and above.
  • Supported Aurora PostgreSQL Versions: Engine Release 17.5, 16.9, 15.13, 14.18, 13.21 and above.
  • Supported Aurora MySQL Versions: Engine Release 3.07 and above.

Please note that Aurora Global Database and RDS Multi-AZ clusters with Blue/Green deployments is currently not supported. For detailed information on supported database versions, refer to the Blue/Green Deployment Plugin Documentation.

Examples

DescriptionExamples
Using the AWS Advanced JDBC Wrapper to get a simple connectionPostgreSQL
Using the AWS Advanced JDBC Wrapper with failover handlingPostgreSQL
Using the AWS IAM Authentication Plugin with DriverManagerPostgreSQL
MySQL
MariaDB
Using the AWS IAM Authentication Plugin with DataSourcePostgreSQL and MySQL
Using the AWS Secrets Manager Plugin with DriverManagerPostgreSQL
MySQL
Using the AWS Credentials Manager to configure an alternative AWS credentials provider.PostgreSQL and MySQL
Using the AWS Advanced JDBC Wrapper with AWSWrapperDatasourcePostgreSQL
Using the Driver Metadata Plugin to override driver name, this plugin enables specific database features that may only be available to target driversPostgreSQL
Using the Read/Write Splitting Plugin with DriverManagerPostgreSQL
MySQL
Using the Read/Write Splitting Plugin with SpringPostgreSQL
MySQL
Using HikariCP with the AWSWrapperDatasourcePostgreSQL
Using HikariCP with the AWSWrapperDatasource with failover handlingPostgreSQL
Using Spring and HikariCP with the AWS Advanced JDBC WrapperPostgreSQL
Using Spring and HikariCP with the AWS Advanced JDBC Wrapper and failover handlingPostgreSQL
Using Spring and Hibernate with the AWS Advanced JDBC WrapperPostgreSQL
Using Spring and Wildfly with the AWS Advanced JDBC WrapperPostgreSQL
Using Vert.x and c3p0 with the AWS Advanced JDBC WrapperPostgreSQL
Using the AWS Advanced JDBC Wrapper with Telemetry and using the AWS Distro for OpenTelemetry CollectorPostgreSQL
Using the AWS Advanced JDBC Wrapper with Telemetry and using the AWS X-Ray DaemonPostgreSQL
Configuring the AWS Advanced JDBC Wrapper with an AI tool (Cursor, Claude, ChatGPT, Bedrock, etc.) using the Configuration Assistant skillJDBC Wrapper Configuration Assistant

Other AWS Advanced Wrapper Drivers

The AWS Advanced JDBC Wrapper is part of a broader family of AWS "wrapper" drivers that bring the same advanced functionality, such as failover support and IAM authentication, to other languages and database connectivity standards. If you are working outside of Java, you may find one of the following drivers useful:

Getting Help and Opening Issues

If you encounter a bug with the AWS Advanced JDBC Wrapper, we would like to hear about it. Please search the existing issues to see if others are also experiencing the issue before reporting the problem in a new issue. GitHub issues are intended for bug reports and feature requests.

When opening a new issue, please fill in all required fields in the issue template to help expedite the investigation process.

For all other questions, please use GitHub discussions.

How to Contribute

  1. Set up your environment by following the directions in the Development Guide.
  2. To contribute, first make a fork of this project.
  3. Make any changes on your fork. Make sure you are aware of the requirements for the project (e.g. do not require Java 7 if we are supporting Java 8 and higher).
  4. Create a pull request from your fork.
  5. Pull requests need to be approved and merged by maintainers into the main branch.
    Note: Before making a pull request, run all tests and verify everything is passing.

Code Style

The project source code is written using the Google checkstyle, and the style is strictly enforced in our automation pipelines. Any contribution that does not respect/satisfy the style will automatically fail at build time.

Releases

The aws-advanced-jdbc-wrapper has a regular monthly release cadence. A new release will occur during the last week of each month. However, if there are no changes since the latest release, then a release will not occur.

Aurora Engine Version Testing

This aws-advanced-jdbc-wrapper is being tested against the following Community and Aurora database versions in our test suite:

DatabaseVersions
MySQL8.0.36
PostgreSQL16.2
Aurora MySQL- Default version. To check the default version, open the RDS "Create database" page in the AWS console and check the pre-selected database version.

- Latest release, as shown on this page.
Aurora PostgreSQL- Default version. To check the default version, open the RDS "Create database" page in the AWS console and check the pre-selected database version.

- Latest release, as shown on this page.

The aws-advanced-jdbc-wrapper is compatible with MySQL 5.7 and MySQL 8.0 as per the Community MySQL Connector/J 8.0 Driver.

License

This software is released under the Apache 2.0 license.

Significant stargazers

Eddú Meléndez Gonzales

526 followers · starred Oct 2022

Dan Stone

67 followers · starred Jun 2024

Martin Vejdarski

3 followers · starred Sep 2025

aws/aws-advanced-jdbc-wrapper

The Amazon Web Services JDBC Driver has been redesigned as an advanced JDBC wrapper. This wrapper is complementary to and extends the functionality of an existing JDBC driver to help an application take advantage of the features of clustered databases such as Amazon Aurora.

Java

360

1,553 commits

updated Sep 29, 2026

See the code

README

[!NOTE] 📊 We want to hear from you — community survey is open

Help us get to know who's using the AWS Advanced JDBC Wrapper. The survey is a single GitHub Discussion with one question per comment. You answer by reacting with emojis — pick all that apply, multi-select is supported.

  • Takes about 3–5 minutes
  • Covers usage, deployment topology, plugins, frameworks, and your experience
  • Every reaction is visible to the community; total participants are counted from a single 👍 on the participation comment

👉 Take the survey

Amazon Web Services (AWS) JDBC Driver

build_status License Maven Central Javadoc OpenSSF Scorecard

The Amazon Web Services (AWS) JDBC Driver has been redesigned as an advanced JDBC wrapper.

The wrapper is complementary to an existing JDBC driver and aims to extend the functionality of the driver to enable applications to take full advantage of the features of clustered databases such as Amazon Aurora. In other words, the AWS Advanced JDBC Wrapper does not connect directly to any database, but enables support of AWS and Aurora functionalities on top of an underlying JDBC driver of the user's choice. This approach enables service-specific enhancements, without requiring users to change their workflow and existing JDBC driver tooling.

The AWS Advanced JDBC Wrapper is targeted to work with any existing JDBC driver. Currently, the AWS Advanced JDBC Wrapper has been validated to support the PostgreSQL JDBC Driver, MySQL JDBC Driver, and MariaDB JDBC Driver (with some caveats, see below).

The AWS Advanced JDBC Wrapper provides modular functionality through feature plugins, with each plugin being relevant to specific database services based on their architecture and capabilities. For example, AWS Identity and Access Management (IAM) authentication is supported across multiple services, while AWS Secrets Manager applies to services that support password-based authentication. The fast failover plugin provides reduced recovery time during failover for Aurora PostgreSQL and Aurora MySQL clusters.

Benefits of the AWS Advanced JDBC Wrapper for All Aurora and RDS Database Services

Seamless AWS Authentication Service Integration

Built-in support for AWS Identity and Access Management (IAM) authentication eliminates the need to manage database passwords, while AWS Secrets Manager integration provides secure credential management for services that require password-based authentication.

Seamless Query Caching Integration

The driver includes Remote Query Cache Plugin that stores cacheable read-only query results in a remote Valkey cache along with support for plain username/password authentication and IAM authentication with AWS ElastiCache. Applications can opt‑in per query using a SQL query hint that specifies a time‑to‑live (TTL).

Database multi-tenancy protection is disabled by default. Enable cacheEnableDatabaseMultiTenancy when query visibility depends on supported database authorization or session state. The protection covers only documented PostgreSQL and MySQL/MariaDB session state and is not a complete tenant-isolation boundary. See the Remote Query Cache Plugin for supported operations, limitations, application security requirements, and performance implications.

Preserve Existing Workflows

The wrapper design allows developers to continue using their preferred JDBC drivers and existing database code while gaining service-specific enhancements. No application rewrites are required.

Modular Plugin Architecture

The plugin-based design ensures applications only load the functionality they need, reducing dependencies and overhead.

Benefits of the AWS Advanced JDBC Wrapper for Aurora PostgreSQL, Aurora MySQL, and RDS

Faster Failover and Reduced Downtime

For Aurora PostgreSQL, Aurora MySQL, and RDS Multi-AZ DB clusters, the driver significantly reduces connection recovery time during database failovers. By maintaining a real-time cache of cluster topology and bypassing DNS resolution delays, applications can reconnect to healthy database instances in seconds rather than minutes.

Enhanced Failure Detection

The driver includes Enhanced Failure Monitoring (EFM) that proactively monitors database node health, detecting failures faster than traditional timeout-based approaches. This allows applications to respond to issues before they impact end users.

Using the AWS Advanced JDBC Wrapper with...

Amazon Aurora PostgreSQL and Aurora MySQL

The AWS Advanced JDBC Wrapper provides fast failover capabilities for Aurora PostgreSQL and Aurora MySQL clusters, significantly reducing connection recovery time during database failovers.

Visit Using Failover 2 for more details.

Amazon RDS Multi-AZ DB Clusters

The AWS RDS Multi-AZ DB Clusters are capable of switching over the current writer node to another node in the cluster within approximately 1 second or less, in case of minor engine version upgrade or OS maintenance operations. The AWS Advanced JDBC Wrapper has been optimized for such fast failover when working with AWS RDS Multi-AZ DB Clusters.

With the failover plugin, the downtime during certain DB cluster operations, such as engine minor version upgrades, can be reduced to one second or even less with finely tuned parameters. It supports both MySQL and PostgreSQL clusters.

Visit Support for RDS MultiAZ for more details.

Using the AWS Advanced JDBC Wrapper with Amazon Aurora Global Databases

As of version 3.0.0, the driver supports in-region failover and cross-region planned failover and switchover of Amazon Aurora Global Databases. A Global Writer Endpoint is also recognized and can be handled to minimize potential stale DNS issues. Please check failover plugin, failover2 plugin and Aurora Initial Connection Strategy plugin for more information.

For detailed configuration instructions, see Aurora Global Databases.

Plain Amazon RDS databases

The AWS Advanced JDBC Wrapper also provides limited functionality for RDS provided databases that are not Aurora, see the compatibility matrix for details.

RDS Proxy

As of version 3.0.0 the Simple R/W Splitting Plugin can be used with RDS Proxy. There are limitations with the AWS Advanced JDBC Wrapper and RDS Proxy. This is currently intended, by design, since the main reason is that RDS Proxy transparently re-routes requests to a single database instance. RDS Proxy decides which database instance is used based on many criteria (on a per-request basis). Due to this, functionality like Failover, Enhanced Host Monitoring, and Read/Write Splitting is not compatible since the driver relies on cluster topology and RDS Proxy handles this automatically.

The driver remains useful with RDS Proxy for authentication workflows, such as IAM authentication and AWS Secrets Manager integration. See Compatibility for compatibility information and refer to the using plugins documentation for details.

Visit Using Plain RDS for more details.

Getting Started

For more information on how to download the AWS Advanced JDBC Wrapper, minimum requirements to use it, and how to integrate it within your project and with your JDBC driver of choice, please visit the Getting Started page.

Maven Central

You can find our driver by searching in The Central Repository with GroupId and ArtifactId software.amazon:aws-advanced-jdbc-wrapper.

Maven Central

<!-- Add the following dependency to your pom.xml, -->
<!-- replacing LATEST with the specific version as required -->

<dependency>
  <groupId>software.amazon.jdbc</groupId>
  <artifactId>aws-advanced-jdbc-wrapper</artifactId>
  <version>LATEST</version>
</dependency>

Configuring the Driver with AI Tools

The driver ships with a self-contained configuration assistant skill, JDBC-WRAPPER-CONFIGURATION-ASSISTANT.md, that you can drop into your AI tool's knowledge base (Kiro, Cursor, Claude Projects, ChatGPT, Amazon Bedrock, GitHub Copilot, etc.) to help build, review, or troubleshoot wrapper configurations.

For drop-in locations, example prompts, and usage details, see Configuring the Driver with AI Tools in the Getting Started guide.

Properties

ParameterAvailable Since VersionReferenceDocumentation Link
activeHomeFailoverMode3.2.0GlobalDbFailoverConnectionPlugin.ACTIVE_HOME_FAILOVER_MODEGlobal Database (GDB) Failover Plugin
allowAwsLoginSession4.4.0PropertyDefinition.ALLOW_AWS_LOGIN_SESSIONAWS IAM Authentication Plugin
allowStatementRecreationOnConnectionSwitch4.4.0UnifiedReadWriteSplittingPlugin.ALLOW_STATEMENT_RECREATION_ON_CONNECTION_SWITCHRead/Write Splitting Plugin
appId2.3.6OktaAuthPlugin.APP_IDOkta Authentication Plugin
assumeWriteTransaction4.4.0UnifiedReadWriteSplittingPlugin.ASSUME_WRITE_TRANSACTIONAutomatic Read/Write Splitting Plugin
auditLoggingEnabled4.0.0EncryptionConfig.AUDIT_LOGGING_ENABLEDKMS Encryption Plugin
autoSortWrapperPluginOrder2.2.4PropertyDefinition.AUTO_SORT_PLUGIN_ORDERPlugins
awsProfile2.3.3PropertyDefinition.AWS_PROFILEAWS Advanced JDBC Wrapper Parameters
bgBaselineMs2.6.0BlueGreenStatusProvider.BG_INTERVAL_BASELINE_MSBlue/Green Deployment Plugin
bgDeploymentRemovedGraceMs4.5.0BlueGreenStatusProvider.BG_DEPLOYMENT_REMOVED_GRACE_MSBlue/Green Deployment Plugin
bgdId2.6.0BlueGreenConnectionPlugin.BGD_IDBlue/Green Deployment Plugin
bgConnectTimeoutMs2.6.0BlueGreenConnectionPlugin.BG_CONNECT_TIMEOUTBlue/Green Deployment Plugin
bgDropBlueConnections3.3.0BlueGreenStatusProvider.BG_DROP_BLUE_CONNECTIONSBlue/Green Deployment Plugin
bgEndpointUnreachableMs4.5.0BlueGreenStatusProvider.BG_ENDPOINT_UNREACHABLE_MSBlue/Green Deployment Plugin
bgHighMs2.6.0BlueGreenStatusProvider.BG_INTERVAL_HIGH_MSBlue/Green Deployment Plugin
bgIncreasedMs2.6.0BlueGreenStatusProvider.BG_INTERVAL_INCREASED_MSBlue/Green Deployment Plugin
bgReleaseOnBlueDnsUpdate4.4.0BlueGreenStatusProvider.BG_RELEASE_ON_BLUE_DNS_UPDATEBlue/Green Deployment Plugin
bgSwitchoverTimeoutMs2.6.0BlueGreenStatusProvider.BG_SWITCHOVER_TIMEOUT_MSBlue/Green Deployment Plugin
cachedReaderKeepAliveTimeoutMs3.0.0UnifiedReadWriteSplittingPlugin.CACHED_READER_KEEP_ALIVE_TIMEOUTRead/Write Splitting Plugin
clusterId0.1.0RdsHostListProvider.CLUSTER_IDClusterId
clusterInstanceHostPattern0.1.0RdsHostListProvider.CLUSTER_INSTANCE_HOST_PATTERNFailover Plugin
clusterTopologyHighRefreshRateMs2.4.0RdsHostListProvider.CLUSTER_TOPOLOGY_HIGH_REFRESH_RATE_MSFailover Plugin v2
clusterTopologyRefreshRateMs0.1.0RdsHostListProvider.CLUSTER_TOPOLOGY_REFRESH_RATE_MSFailover Plugin v2
connectTimeout2.3.1PropertyDefinition.CONNECT_TIMEOUTAWS Advanced JDBC Wrapper Parameters
connectionPoolType3.1.0PropertyDefinition.CONNECTION_POOL_TYPEAWS Advanced JDBC Wrapper Parameters
customEndpointInfoMaxRefreshRateMs3.1.0CustomEndpointPlugin.CUSTOM_ENDPOINT_INFO_MAX_REFRESH_RATE_MSCustom Endpoint Plugin
customEndpointInfoRefreshRateBackoffFactor3.1.0CustomEndpointPlugin.CUSTOM_ENDPOINT_INFO_REFRESH_RATE_BACKOFF_FACTORCustom Endpoint Plugin
customEndpointInfoRefreshRateMs2.5.0CustomEndpointPlugin.CUSTOM_ENDPOINT_INFO_REFRESH_RATE_MSCustom Endpoint Plugin
customEndpointMonitorExpirationMs2.5.0CustomEndpointPlugin.CUSTOM_ENDPOINT_MONITOR_IDLE_EXPIRATION_MSCustom Endpoint Plugin
customEndpointRegion2.5.0CustomEndpointPlugin.REGION_PROPERTYCustom Endpoint Plugin
dataCacheMaxSize4.4.0DataLocalCacheConnectionPlugin.DATA_CACHE_MAX_SIZEData Local Cache Plugin
dataCacheTriggerCondition0.1.0DataLocalCacheConnectionPlugin.DATA_CACHE_TRIGGER_CONDITIONData Local Cache Plugin
dataCacheTtlMs4.4.0DataLocalCacheConnectionPlugin.DATA_CACHE_TTL_MSData Local Cache Plugin
dataKeyCacheEnabled4.0.0EncryptionConfig.DATA_KEY_CACHE_ENABLEDKMS Encryption Plugin
dataKeyCacheExpirationMs4.0.0EncryptionConfig.DATA_KEY_CACHE_EXPIRATION_MSKMS Encryption Plugin
dataKeyCacheMaxSize4.0.0EncryptionConfig.DATA_KEY_CACHE_MAX_SIZEKMS Encryption Plugin
cacheEndpointAddrRw3.3.0CacheConnection.CACHE_RW_ENDPOINT_ADDRRemote Query Cache Plugin
cacheEndpointAddrRo3.3.0CacheConnection.CACHE_RO_ENDPOINT_ADDRRemote Query Cache Plugin
cacheUseSSL3.3.0CacheConnection.CACHE_USE_SSLRemote Query Cache Plugin
cacheTlsCaCertPath3.3.0CacheConnection.CACHE_TLS_CA_CERT_PATHRemote Query Cache Plugin
cacheUsername3.3.0CacheConnection.CACHE_USERNAMERemote Query Cache Plugin
cachePassword3.3.0CacheConnection.CACHE_PASSWORDRemote Query Cache Plugin
cacheName3.3.0CacheConnection.CACHE_NAMERemote Query Cache Plugin
cacheIamRegion3.3.0CacheConnection.CACHE_IAM_REGIONRemote Query Cache Plugin
cacheMaxQuerySize3.3.0RemoteQueryCachePlugin.CACHE_MAX_QUERY_SIZERemote Query Cache Plugin
cacheEnableDatabaseMultiTenancy4.5.0RemoteQueryCachePlugin.CACHE_ENABLE_DATABASE_MULTI_TENANCYRemote Query Cache Plugin
cacheConnectionTimeoutMs3.3.0CacheConnection.CACHE_CONNECTION_TIMEOUTRemote Query Cache Plugin
cacheConnectionPoolSize3.3.0CacheConnection.CACHE_CONNECTION_POOL_SIZERemote Query Cache Plugin
cacheKeyPrefix3.3.0CacheConnection.CACHE_KEY_PREFIXRemote Query Cache Plugin
dbUser2.3.2FederatedAuthPlugin.DB_USERFederated Authentication Plugin
dbUser2.3.2OktaAuthPlugin.DB_USEROkta Authentication Plugin
enableConnectFailover2.4.0FailoverConnectionPlugin.ENABLE_CONNECT_FAILOVERFailover Plugin
enableGreenNodeReplacement2.3.6PropertyDefinition.ENABLE_GREEN_NODE_REPLACEMENTAWS Advanced JDBC Wrapper Parameters
failoverHomeRegion3.2.0GlobalDbFailoverConnectionPlugin.FAILOVER_HOME_REGIONGlobal Database (GDB) Failover Plugin
failWhenCacheDown3.3.0CacheConnection.FAIL_WHEN_CACHE_DOWNRemote Query Cache Plugin
cacheInFlightWriteSizeLimitBytes3.3.0CacheMonitor.CACHE_IN_FLIGHT_WRITE_SIZE_LIMITRemote Query Cache Plugin
cacheHealthCheckInHealthyState3.3.0CacheMonitor.CACHE_HEALTH_CHECK_IN_HEALTHY_STATERemote Query Cache Plugin
cacheAllowStreamSource4.3.0RemoteQueryCachePlugin.CACHE_ALLOW_STREAM_SOURCERemote Query Cache Plugin
cacheAllowUrl4.3.0RemoteQueryCachePlugin.CACHE_ALLOW_URLRemote Query Cache Plugin
database0.1.0PropertyDefinition.DATABASEAWS Advanced JDBC Wrapper Parameters
defaultHostAvailabilityStrategy2.2.4HostAvailabilityStrategyFactory.DEFAULT_HOST_AVAILABILITY_STRATEGYHost Availability Strategy
enableClusterAwareFailover0.1.0FailoverConnectionPlugin.ENABLE_CLUSTER_AWARE_FAILOVERFailover Plugin
enableTelemetry2.3.0PropertyDefinition.ENABLE_TELEMETRYMonitoring
endpointSubstitutionRole3.1.0AuroraInitialConnectionStrategyPlugin.ENDPOINT_SUBSTITUTION_ROLEAurora Initial Connection Strategy Plugin
enhancedLogQueryEnabled0.1.0LogQueryConnectionPlugin.ENHANCED_LOG_QUERY_ENABLEDUsing the AWS Advanced JDBC Wrapper
encryptionMetadataSchema4.0.0EncryptionConfig.ENCRYPTION_METADATA_SCHEMAKMS Encryption Plugin
failoverClusterTopologyRefreshRateMs0.1.0FailoverConnectionPlugin.FAILOVER_CLUSTER_TOPOLOGY_REFRESH_RATE_MSFailover Plugin
failoverMode2.1.0FailoverConnectionPlugin.FAILOVER_MODEFailover Plugin
failoverReaderConnectTimeoutMs0.1.0FailoverConnectionPlugin.FAILOVER_READER_CONNECT_TIMEOUT_MSFailover Plugin
failoverReaderHostSelectorStrategy2.4.0FailoverConnectionPlugin.FAILOVER_READER_HOST_SELECTOR_STRATEGYFailover Plugin v2
failoverTimeoutMs0.1.0FailoverConnectionPlugin.FAILOVER_TIMEOUT_MSFailover Plugin
Failover Plugin v2
failoverWriterReconnectIntervalMs0.1.0FailoverConnectionPlugin.FAILOVER_WRITER_RECONNECT_INTERVAL_MSFailover Plugin
failureDetectionCount0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_COUNTHost Monitoring Plugin
failureDetectionEnabled0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_ENABLEDHost Monitoring Plugin
failureDetectionInterval0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_INTERVALHost Monitoring Plugin
failureDetectionTime0.1.0HostMonitoringConnectionPlugin.FAILURE_DETECTION_TIMEHost Monitoring Plugin
gdbEnableGlobalWriteForwarding4.0.0GdbSettings.ENABLE_GWFGlobal Database (GDB) Read/Write Splitting Plugin
gdbRwHomeRegion3.2.0GdbReadWriteSplittingPlugin.RW_HOME_REGIONGlobal Database (GDB) Read/Write Splitting Plugin
gdbRwRestrictReaderToHomeRegion3.2.0GdbReadWriteSplittingPlugin.RESTRICT_READER_TO_HOME_REGIONGlobal Database (GDB) Read/Write Splitting Plugin
gdbRwRestrictWriterToHomeRegion3.2.0GdbReadWriteSplittingPlugin.RESTRICT_WRITER_TO_HOME_REGIONGlobal Database (GDB) Read/Write Splitting Plugin
gdbAccessibleRegions4.1.0PropertyDefinition.GDB_ACCESSIBLE_REGIONSGlobal Database (GDB) Failover Plugin
Global Database (GDB) Read/Write Splitting Plugin
gdbMonitoringConnectionPriority4.1.0GdbMonitoringConnectionHandler.GDB_MONITORING_CONNECTION_PRIORITYGlobal Database (GDB) Failover Plugin
globalClusterInstanceHostPatterns3.0.0GlobalAuroraHostListProvider.GLOBAL_CLUSTER_INSTANCE_HOST_PATTERNSFailover Plugin v2
Global Database (GDB) Failover Plugin
hostAvailabilityStrategyInitialBackoffTime2.2.4HostAvailabilityStrategyFactory.HOST_AVAILABILITY_STRATEGY_INITIAL_BACKOFF_TIMEHost Availability Strategy
hostAvailabilityStrategyMaxRetries2.2.4HostAvailabilityStrategyFactory.HOST_AVAILABILITY_STRATEGY_MAX_RETRIESHost Availability Strategy
httpClientConnectTimeout2.3.2FederatedAuthPlugin.HTTP_CLIENT_CONNECT_TIMEOUTFederated Authentication Plugin
httpClientConnectTimeout2.3.2OktaAuthPlugin.HTTP_CLIENT_CONNECT_TIMEOUTOkta Authentication Plugin
httpClientSocketTimeout2.3.2FederatedAuthPlugin.HTTP_CLIENT_SOCKET_TIMEOUTFederated Authentication Plugin
httpClientSocketTimeout2.3.2OktaAuthPlugin.HTTP_CLIENT_SOCKET_TIMEOUTOkta Authentication Plugin
iamAccessTokenPropertyName3.0.0IamAuthConnectionPlugin.IAM_TOKEN_PROPERTY_NAMEAWS IAM Authentication Plugin
iamDefaultPort0.1.0IamAuthConnectionPlugin.IAM_DEFAULT_PORTAWS IAM Authentication Plugin
iamExpiration0.1.0IamAuthConnectionPlugin.IAM_EXPIRATIONAWS IAM Authentication Plugin
iamHost1.0.1IamAuthConnectionPlugin.IAM_HOSTAWS IAM Authentication Plugin
iamIdpArn2.3.2OktaAuthPlugin.IAM_IDP_ARNOkta Authentication Plugin
iamRegion0.1.0IamAuthConnectionPlugin.IAM_REGIONAWS IAM Authentication Plugin
iamRoleArn2.3.2FederatedAuthPlugin.IAM_ROLE_ARNFederated Authentication Plugin
iamRoleArn2.3.2OktaAuthPlugin.IAM_ROLE_ARNOkta Authentication Plugin
iamTokenExpiration2.3.2FederatedAuthPlugin.IAM_TOKEN_EXPIRATIONFederated Authentication Plugin
iamTokenExpiration2.3.2OktaAuthPlugin.IAM_TOKEN_EXPIRATIONOkta Authentication Plugin
idpEndpoint2.3.2FederatedAuthPlugin.IDP_ENDPOINTFederated Authentication Plugin
idpEndpoint2.3.2OktaAuthPlugin.IDP_ENDPOINTOkta Authentication Plugin
idpName2.3.2FederatedAuthPlugin.IDP_NAMEFederated Authentication Plugin
idpPassword2.3.2FederatedAuthPlugin.IDP_PASSWORDFederated Authentication Plugin
idpPassword2.3.2OktaAuthPlugin.IDP_PASSWORDOkta Authentication Plugin
idpPort2.3.2FederatedAuthPlugin.IDP_PORTFederated Authentication Plugin
idpUsername2.3.2FederatedAuthPlugin.IDP_USERNAMEFederated Authentication Plugin
idpUsername2.3.2OktaAuthPlugin.IDP_USERNAMEOkta Authentication Plugin
inactiveClusterWriterEndpointSubstitutionRole3.2.0AuroraInitialConnectionStrategyPlugin.INACTIVE_CLUSTER_WRITER_SUBSTITUTION_ROLEAurora Initial Connection Strategy Plugin
inactiveHomeFailoverMode3.2.0GlobalDbFailoverConnectionPlugin.INACTIVE_HOME_FAILOVER_MODEGlobal Database (GDB) Failover Plugin
initialConnectionHostSelectorStrategy3.1.0AuroraInitialConnectionStrategyPlugin.HOST_SELECTOR_STRATEGYAurora Initial Connection Strategy Plugin
keyManagementMaxRetries4.0.0EncryptionConfig.KEY_MANAGEMENT_MAX_RETRIESKMS Encryption Plugin
keyManagementRetryBackoffBaseMs4.0.0EncryptionConfig.KEY_MANAGEMENT_RETRY_BACKOFF_BASE_MSKMS Encryption Plugin
kms.region4.0.0EncryptionConfig.KMS_REGIONKMS Encryption Plugin
limitlessConnectMaxRetries2.4.0LimitlessConnectionPlugin.MAX_RETRIESUsing the Limitless Connection Plugin
limitlessGetTransactionRouterInfoMaxRetries2.4.0LimitlessConnectionPlugin.GET_ROUTER_MAX_RETRIESUsing the Limitless Connection Plugin
limitlessGetTransactionRouterInfoRetryIntervalMs2.4.0LimitlessConnectionPlugin.GET_ROUTER_RETRY_INTERVAL_MILLISUsing the Limitless Connection Plugin
limitlessTransactionRouterMonitorDisposalTimeMs2.4.0LimitlessRouterServiceImpl.MONITOR_DISPOSAL_TIME_MSUsing the Limitless Connection Plugin
limitlessTransactionRouterMonitorIntervalMs2.4.0LimitlessConnectionPlugin.INTERVAL_MILLISUsing the Limitless Connection Plugin
limitlessWaitForTransactionRouterInfo2.4.0LimitlessConnectionPlugin.WAIT_FOR_ROUTER_INFOUsing the Limitless Connection Plugin
loadBalancingIncludeWriter4.2.0UnifiedReadWriteSplittingPlugin.LOAD_BALANCING_INCLUDE_WRITERRead/Write Splitting Plugin
loginTimeout2.2.0PropertyDefinition.LOGIN_TIMEOUTAWS Advanced JDBC Wrapper Parameters
metadataCacheEnabled4.0.0EncryptionConfig.METADATA_CACHE_ENABLEDKMS Encryption Plugin
metadataCacheExpirationMinutes4.0.0EncryptionConfig.METADATA_CACHE_EXPIRATION_MINUTESKMS Encryption Plugin
metadataCacheRefreshIntervalMs4.0.0EncryptionConfig.METADATA_CACHE_REFRESH_INTERVAL_MSKMS Encryption Plugin
monitorDisposalTime0.1.0HostMonitorServiceImpl.MONITOR_DISPOSAL_TIME_MSHost Monitoring Plugin
monitoringConnectionPriority4.1.0AuroraMonitoringConnectionHandler.MONITORING_CONNECTION_PRIORITYGlobal Database (GDB) Failover Plugin
openConnectionRetryIntervalMs2.3.1AuroraInitialConnectionStrategyPlugin.OPEN_CONNECTION_RETRY_INTERVAL_MSAurora Initial Connection Strategy Plugin
openConnectionRetryTimeoutMs2.3.1AuroraInitialConnectionStrategyPlugin.OPEN_CONNECTION_RETRY_TIMEOUT_MSAurora Initial Connection Strategy Plugin
password0.1.0PropertyDefinition.PASSWORDAWS Advanced JDBC Wrapper Parameters
queryLevelLoadBalancing4.2.0UnifiedReadWriteSplittingPlugin.QUERY_LEVEL_LOAD_BALANCINGRead/Write Splitting Plugin
readerHostSelectorStrategy2.0.0ReadWriteSplittingPlugin.READER_HOST_SELECTOR_STRATEGYRead/Write Splitting Plugin
readerInitialConnectionHostSelectorStrategy2.3.1AuroraInitialConnectionStrategyPlugin.READER_HOST_SELECTOR_STRATEGYAurora Initial Connection Strategy Plugin
resetSessionStateOnClose2.3.3PropertyDefinition.RESET_SESSION_STATE_ON_CLOSEAWS Advanced JDBC Wrapper Parameters
responseMeasurementIntervalMs2.3.2FastestResponseStrategyPlugin.RESPONSE_MEASUREMENT_INTERVAL_MILLISUsing the AWS Advanced JDBC Wrapper
rollbackOnSwitch2.3.3PropertyDefinition.ROLLBACK_ON_SWITCHAWS Advanced JDBC Wrapper Parameters
roundRobinDefaultWeight2.2.5RoundRobinHostSelector.ROUND_ROBIN_DEFAULT_WEIGHTHost Selection Strategies
roundRobinHostWeightPairs2.2.5RoundRobinHostSelector.ROUND_ROBIN_HOST_WEIGHT_PAIRSHost Selection Strategies
rpIdentifier2.3.2FederatedAuthPlugin.RELAYING_PARTY_IDFederated Authentication Plugin
secretsManagerConnectRetryIntervalMs4.4.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_CONNECT_RETRY_INTERVAL_MS_PROPERTYAWS Secrets Manager Plugin
secretsManagerConnectRetryTimeoutMs4.4.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_CONNECT_RETRY_TIMEOUT_MS_PROPERTYAWS Secrets Manager Plugin
secretsManagerEndpoint2.3.0AwsSecretsManagerConnectionPlugin.ENDPOINT_PROPERTYAWS Secrets Manager Plugin
secretsManagerExpirationTimeSec3.1.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_EXPIRATION_SEC_PROPERTYAWS Secrets Manager Plugin
secretsManagerRegion1.0.0AwsSecretsManagerConnectionPlugin.REGION_PROPERTYAWS Secrets Manager Plugin
secretsManagerSecretId1.0.0AwsSecretsManagerConnectionPlugin.SECRET_ID_PROPERTYAWS Secrets Manager Plugin
secretsManagerSecretPasswordProperty3.1.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_SECRET_PASSWORD_PROPERTYAWS Secrets Manager Plugin
secretsManagerSecretUsernameProperty3.1.0AwsSecretsManagerConnectionPlugin.SECRETS_MANAGER_SECRET_USERNAME_PROPERTYAWS Secrets Manager Plugin
singleWriterConnectionString1.0.1ConnectionStringHostListProvider.SINGLE_WRITER_CONNECTION_STRINGRead/Write Splitting Plugin
skipFailoverOnInterruptedThread2.5.5FailoverConnectionPlugin.SKIP_FAILOVER_ON_INTERRUPTED_THREADFailover Plugin
Failover Plugin v2
skipInactiveWriterClusterEndpointCheck3.2.0AuroraStaleDnsHelper.SKIP_INACTIVE_WRITER_CLUSTER_CHECKGlobal Database (GDB) Failover Plugin
skipWrappingForPackages2.6.3PropertyDefinition.SKIP_WRAPPING_FOR_PACKAGESAWS Advanced JDBC Wrapper Parameters
socketTimeout2.3.1PropertyDefinition.SOCKET_TIMEOUTAWS Advanced JDBC Wrapper Parameters
srwConnectRetryIntervalMs3.0.0SimpleReadWriteSplittingPlugin.SRW_CONNECT_RETRY_INTERVAL_MSSimple Read/Write Splitting Plugin
srwConnectRetryTimeoutMs3.0.0SimpleReadWriteSplittingPlugin.SRW_CONNECT_RETRY_TIMEOUT_MSSimple Read/Write Splitting Plugin
srwReadEndpoint3.0.0SimpleReadWriteSplittingPlugin.SRW_READ_ENDPOINTSimple Read/Write Splitting Plugin
srwWriteEndpoint3.0.0SimpleReadWriteSplittingPlugin.SRW_WRITE_ENDPOINTSimple Read/Write Splitting Plugin
sslInsecure2.3.2FederatedAuthPlugin.SSL_INSECUREFederated Authentication Plugin
sslInsecure2.3.2OktaAuthPlugin.SSL_INSECUREOkta Authentication Plugin
targetDriverAutoRegister2.3.1TargetDriverDialectManager.TARGET_DRIVER_AUTO_REGISTERAWS Advanced JDBC Wrapper Parameters
tcpKeepAlive2.3.1PropertyDefinition.TCP_KEEP_ALIVEAWS Advanced JDBC Wrapper Parameters
telemetryFailoverAdditionalTopTrace2.3.0FailoverConnectionPlugin.TELEMETRY_FAILOVER_ADDITIONAL_TOP_TRACEFailover Plugin
telemetryMetricsBackend2.3.0PropertyDefinition.TELEMETRY_METRICS_BACKENDMonitoring
telemetrySubmitToplevel2.3.0PropertyDefinition.TELEMETRY_SUBMIT_TOPLEVELMonitoring
telemetryTracesBackend2.3.0PropertyDefinition.TELEMETRY_TRACES_BACKENDMonitoring
transferSessionStateOnSwitch2.3.3PropertyDefinition.TRANSFER_SESSION_STATE_ON_SWITCHAWS Advanced JDBC Wrapper Parameters
user0.1.0PropertyDefinition.USERAWS Advanced JDBC Wrapper Parameters
verifyInactiveClusterWriterEndpointConnectionType3.2.0AuroraInitialConnectionStrategyPlugin.VERIFY_INACTIVE_CLUSTER_WRITER_CONNECTION_ROLEAurora Initial Connection Strategy Plugin
verifyInitialConnectionRole4.0.0ReadWriteSplittingPlugin.VERIFY_INITIAL_CONNECTION_ROLERead/Write Splitting Plugin
verifyInitialConnectionType3.0.0SimpleReadWriteSplittingPlugin.VERIFY_INITIAL_CONNECTION_TYPESimple Read/Write Splitting Plugin
verifyNewSrwConnections3.0.0SimpleReadWriteSplittingPlugin.VERIFY_NEW_SRW_CONNECTIONSSimple Read/Write Splitting Plugin
verifyOpenedConnectionType2.5.5AuroraInitialConnectionStrategyPlugin.VERIFY_OPENED_CONNECTION_ROLEAurora Initial Connection Strategy Plugin
waitForCustomEndpointInfo2.5.0CustomEndpointPlugin.WAIT_FOR_CUSTOM_ENDPOINT_INFOCustom Endpoint Plugin
waitForCustomEndpointInfoTimeoutMs2.5.0CustomEndpointPlugin.WAIT_FOR_CUSTOM_ENDPOINT_INFO_TIMEOUT_MSCustom Endpoint Plugin
waitForInitialTopologyMs4.1.0AuroraInitialConnectionStrategyPlugin.WAIT_FOR_INITIAL_TOPOLOGY_MSAurora Initial Connection Strategy Plugin
weightedRandomHostWeightPairs2.6.5WeightedRandomHostSelector.WEIGHTED_RANDOM_HOST_WEIGHT_PAIRSHost Availability Strategy
wrapperCaseSensitive2.6.0PropertyDefinition.CASE_SENSITIVEAWS Advanced JDBC Wrapper Parameters
wrapperDialect2.0.0DialectManager.DIALECTDialects
wrapperDriverName1.0.2DriverMetaDataConnectionPlugin.WRAPPER_DRIVER_NAMEDriverMetaDataConnectionPlugin
wrapperLogUnclosedConnections1.0.0PropertyDefinition.LOG_UNCLOSED_CONNECTIONSAWS Advanced JDBC Wrapper Parameters
wrapperLoggerLevel1.0.0PropertyDefinition.LOGGER_LEVELLogging
wrapperPlugins1.0.0PropertyDefinition.PLUGINSAWS Advanced JDBC Wrapper Parameters
wrapperProfileName1.0.0PropertyDefinition.PROFILE_NAMEConfiguration Profiles
wrapperTargetDriverDialect2.2.0TargetDriverDialectManager.TARGET_DRIVER_DIALECTAWS Advanced JDBC Wrapper Parameters

A Secret ARN has the following format: arn:aws:secretsmanager:<Region>:<AccountId>:secret:SecretName-6RandomCharacters

Logging

Enabling logging is a very useful mechanism for troubleshooting any issue one might potentially experience while using the AWS Advanced JDBC Wrapper.

In order to learn how to enable and configure logging, check out the Logging section.

Documentation

Technical documentation regarding the functionality of the AWS Advanced JDBC Wrapper will be maintained in this GitHub repository. Since the AWS Advanced JDBC Wrapper requires an underlying JDBC driver, please refer to the individual driver's documentation for driver-specific information.

Using the AWS Advanced JDBC Wrapper

To find all the documentation and concrete examples on how to use the AWS Advanced JDBC Wrapper, please refer to the AWS Advanced JDBC Wrapper Documentation page.

Known Limitations

MariaDB

The MariaDB driver uses pipelining for some optimizations, and Aurora does not support pipelining. MariaDB removed its own aurora failover mode in MariaDB Connector/J 3.0 for that reason. The AWS Advanced JDBC Wrapper does not use that mode, because it provides failover itself.

The wrapper's integration tests cover MariaDB Connector/J 3.5.x against Aurora MySQL. MariaDB Connector/J 3.x enables its pipelining-dependent features only when the server advertises MariaDB bulk-operation support, which Aurora MySQL does not, so those features are not used in that configuration.

To disable pipelining explicitly, use the property that matches your driver version:

  • MariaDB Connector/J 3.1 and above: set disablePipeline to true.
  • MariaDB Connector/J 2.x: set usePipelineAuth and useBatchMultiSend to false.
// MariaDB Connector/J 3.1 and above
Properties props = new Properties();
props.setProperty("disablePipeline", "true");

Note that usePipelineAuth and useBatchMultiSend do not exist in MariaDB Connector/J 3.x; they were removed in version 3.0. MariaDB Connector/J accepts unknown properties without raising an error, so setting them on a 3.x driver has no effect.

Amazon RDS Blue/Green Deployments

Support for Blue/Green deployments using the AWS Advanced JDBC Wrapper requires specific metadata tables. The following service versions provide support for Blue/Green Deployments:

  • Supported RDS PostgreSQL Versions: rds_tools v1.7 (17.1, 16.5, 15.9, 14.14, 13.17, 12.21) and above.
  • Supported Aurora PostgreSQL Versions: Engine Release 17.5, 16.9, 15.13, 14.18, 13.21 and above.
  • Supported Aurora MySQL Versions: Engine Release 3.07 and above.

Please note that Aurora Global Database and RDS Multi-AZ clusters with Blue/Green deployments is currently not supported. For detailed information on supported database versions, refer to the Blue/Green Deployment Plugin Documentation.

Examples

DescriptionExamples
Using the AWS Advanced JDBC Wrapper to get a simple connectionPostgreSQL
Using the AWS Advanced JDBC Wrapper with failover handlingPostgreSQL
Using the AWS IAM Authentication Plugin with DriverManagerPostgreSQL
MySQL
MariaDB
Using the AWS IAM Authentication Plugin with DataSourcePostgreSQL and MySQL
Using the AWS Secrets Manager Plugin with DriverManagerPostgreSQL
MySQL
Using the AWS Credentials Manager to configure an alternative AWS credentials provider.PostgreSQL and MySQL
Using the AWS Advanced JDBC Wrapper with AWSWrapperDatasourcePostgreSQL
Using the Driver Metadata Plugin to override driver name, this plugin enables specific database features that may only be available to target driversPostgreSQL
Using the Read/Write Splitting Plugin with DriverManagerPostgreSQL
MySQL
Using the Read/Write Splitting Plugin with SpringPostgreSQL
MySQL
Using HikariCP with the AWSWrapperDatasourcePostgreSQL
Using HikariCP with the AWSWrapperDatasource with failover handlingPostgreSQL
Using Spring and HikariCP with the AWS Advanced JDBC WrapperPostgreSQL
Using Spring and HikariCP with the AWS Advanced JDBC Wrapper and failover handlingPostgreSQL
Using Spring and Hibernate with the AWS Advanced JDBC WrapperPostgreSQL
Using Spring and Wildfly with the AWS Advanced JDBC WrapperPostgreSQL
Using Vert.x and c3p0 with the AWS Advanced JDBC WrapperPostgreSQL
Using the AWS Advanced JDBC Wrapper with Telemetry and using the AWS Distro for OpenTelemetry CollectorPostgreSQL
Using the AWS Advanced JDBC Wrapper with Telemetry and using the AWS X-Ray DaemonPostgreSQL
Configuring the AWS Advanced JDBC Wrapper with an AI tool (Cursor, Claude, ChatGPT, Bedrock, etc.) using the Configuration Assistant skillJDBC Wrapper Configuration Assistant

Other AWS Advanced Wrapper Drivers

The AWS Advanced JDBC Wrapper is part of a broader family of AWS "wrapper" drivers that bring the same advanced functionality, such as failover support and IAM authentication, to other languages and database connectivity standards. If you are working outside of Java, you may find one of the following drivers useful:

Getting Help and Opening Issues

If you encounter a bug with the AWS Advanced JDBC Wrapper, we would like to hear about it. Please search the existing issues to see if others are also experiencing the issue before reporting the problem in a new issue. GitHub issues are intended for bug reports and feature requests.

When opening a new issue, please fill in all required fields in the issue template to help expedite the investigation process.

For all other questions, please use GitHub discussions.

How to Contribute

  1. Set up your environment by following the directions in the Development Guide.
  2. To contribute, first make a fork of this project.
  3. Make any changes on your fork. Make sure you are aware of the requirements for the project (e.g. do not require Java 7 if we are supporting Java 8 and higher).
  4. Create a pull request from your fork.
  5. Pull requests need to be approved and merged by maintainers into the main branch.
    Note: Before making a pull request, run all tests and verify everything is passing.

Code Style

The project source code is written using the Google checkstyle, and the style is strictly enforced in our automation pipelines. Any contribution that does not respect/satisfy the style will automatically fail at build time.

Releases

The aws-advanced-jdbc-wrapper has a regular monthly release cadence. A new release will occur during the last week of each month. However, if there are no changes since the latest release, then a release will not occur.

Aurora Engine Version Testing

This aws-advanced-jdbc-wrapper is being tested against the following Community and Aurora database versions in our test suite:

DatabaseVersions
MySQL8.0.36
PostgreSQL16.2
Aurora MySQL- Default version. To check the default version, open the RDS "Create database" page in the AWS console and check the pre-selected database version.

- Latest release, as shown on this page.
Aurora PostgreSQL- Default version. To check the default version, open the RDS "Create database" page in the AWS console and check the pre-selected database version.

- Latest release, as shown on this page.

The aws-advanced-jdbc-wrapper is compatible with MySQL 5.7 and MySQL 8.0 as per the Community MySQL Connector/J 8.0 Driver.

License

This software is released under the Apache 2.0 license.

Significant stargazers

Eddú Meléndez Gonzales

526 followers · starred Oct 2022

Dan Stone

67 followers · starred Jun 2024

Martin Vejdarski

3 followers · starred Sep 2025

Languages

Java

99.2%