| Package | Description |
|---|---|
| software.amazon.awscdk.services.rds |
Amazon Relational Database Service Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseProxy.Builder |
DatabaseProxy.Builder.borrowTimeout(Duration borrowTimeout)
The duration for a proxy to wait for a connection to become available in the connection pool.
|
static DatabaseProxy.Builder |
DatabaseProxy.Builder.create(software.constructs.Construct scope,
String id) |
DatabaseProxy.Builder |
DatabaseProxy.Builder.dbProxyName(String dbProxyName)
The identifier for the proxy.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.debugLogging(Boolean debugLogging)
Whether the proxy includes detailed information about SQL statements in its logs.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.iamAuth(Boolean iamAuth)
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.idleClientTimeout(Duration idleClientTimeout)
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.initQuery(String initQuery)
One or more SQL statements for the proxy to run when opening each new database connection.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.maxConnectionsPercent(Number maxConnectionsPercent)
The maximum size of the connection pool for each target in a target group.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.maxIdleConnectionsPercent(Number maxIdleConnectionsPercent)
Controls how actively the proxy closes idle database connections in the connection pool.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.proxyTarget(ProxyTarget proxyTarget)
DB proxy target: Instance or Cluster.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.requireTls(Boolean requireTls)
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.role(IRole role)
IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.secrets(List<? extends ISecret> secrets)
The secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.securityGroups(List<? extends ISecurityGroup> securityGroups)
One or more VPC security groups to associate with the new proxy.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.sessionPinningFilters(List<? extends SessionPinningFilter> sessionPinningFilters)
Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.vpc(IVpc vpc)
The VPC to associate with the new proxy.
|
DatabaseProxy.Builder |
DatabaseProxy.Builder.vpcSubnets(SubnetSelection vpcSubnets)
The subnets used by the proxy.
|
Copyright © 2022. All rights reserved.