@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.419Z") @Stability(value=Stable) public interface CfnDBProxyProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rds.*;
CfnDBProxyProps cfnDBProxyProps = CfnDBProxyProps.builder()
.auth(List.of(AuthFormatProperty.builder()
.authScheme("authScheme")
.description("description")
.iamAuth("iamAuth")
.secretArn("secretArn")
.userName("userName")
.build()))
.dbProxyName("dbProxyName")
.engineFamily("engineFamily")
.roleArn("roleArn")
.vpcSubnetIds(List.of("vpcSubnetIds"))
// the properties below are optional
.debugLogging(false)
.idleClientTimeout(123)
.requireTls(false)
.tags(List.of(TagFormatProperty.builder()
.key("key")
.value("value")
.build()))
.vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBProxyProps.Builder
A builder for
CfnDBProxyProps |
static class |
CfnDBProxyProps.Jsii$Proxy
An implementation for
CfnDBProxyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBProxyProps.Builder |
builder() |
Object |
getAuth()
The authorization mechanism that the proxy uses.
|
String |
getDbProxyName()
The identifier for the proxy.
|
default Object |
getDebugLogging()
Whether the proxy includes detailed information about SQL statements in its logs.
|
String |
getEngineFamily()
The kinds of databases that the proxy can connect to.
|
default Number |
getIdleClientTimeout()
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
|
default Object |
getRequireTls()
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
|
default List<CfnDBProxy.TagFormatProperty> |
getTags()
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
|
default List<String> |
getVpcSecurityGroupIds()
One or more VPC security group IDs to associate with the new proxy.
|
List<String> |
getVpcSubnetIds()
One or more VPC subnet IDs to associate with the new proxy.
|
@Stability(value=Stable) @NotNull Object getAuth()
@Stability(value=Stable) @NotNull String getDbProxyName()
This name must be unique for all proxies owned by your AWS account in the specified AWS Region . An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
@Stability(value=Stable) @NotNull String getEngineFamily()
This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
Valid values : MYSQL | POSTGRESQL
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull List<String> getVpcSubnetIds()
@Stability(value=Stable) @Nullable default Object getDebugLogging()
This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
@Stability(value=Stable) @Nullable default Number getIdleClientTimeout()
You can set this value higher or lower than the connection timeout limit for the associated database.
@Stability(value=Stable) @Nullable default Object getRequireTls()
By enabling this setting, you can enforce encrypted TLS connections to the proxy.
@Stability(value=Stable) @Nullable default List<CfnDBProxy.TagFormatProperty> getTags()
@Stability(value=Stable) @Nullable default List<String> getVpcSecurityGroupIds()
If you plan to update the resource, don't specify VPC security groups in a shared VPC.
@Stability(value=Stable) static CfnDBProxyProps.Builder builder()
CfnDBProxyProps.Builder of CfnDBProxyPropsCopyright © 2022. All rights reserved.