Interface CfnDBProxyProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.045Z") @Stability(Stable) public interface CfnDBProxyProps extends
Properties for defining a CfnDBProxy.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnDBProxyProps cfnDBProxyProps = CfnDBProxyProps.builder()
         // the properties below are optional
  • Method Details

    • getAuth

      @Stability(Stable) @NotNull Object getAuth()
      The authorization mechanism that the proxy uses.
    • getDbProxyName

      @Stability(Stable) @NotNull String getDbProxyName()
      The identifier for the proxy.

      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.

    • getEngineFamily

      @Stability(Stable) @NotNull String getEngineFamily()
      The kinds of databases that the proxy can connect to.

      This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify MYSQL . For Aurora PostgreSQL and RDS for PostgreSQL databases, specify POSTGRESQL . For RDS for Microsoft SQL Server, specify SQLSERVER .

      Valid values : MYSQL | POSTGRESQL | SQLSERVER

    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
    • getVpcSubnetIds

      @Stability(Stable) @NotNull List<String> getVpcSubnetIds()
      One or more VPC subnet IDs to associate with the new proxy.
    • getDebugLogging

      @Stability(Stable) @Nullable default Object getDebugLogging()
      Whether the proxy includes detailed information about SQL statements in its logs.

      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.

    • getIdleClientTimeout

      @Stability(Stable) @Nullable default Number getIdleClientTimeout()
      The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.

      You can set this value higher or lower than the connection timeout limit for the associated database.

    • getRequireTls

      @Stability(Stable) @Nullable default Object getRequireTls()
      A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

      By enabling this setting, you can enforce encrypted TLS connections to the proxy.

    • getTags

      @Stability(Stable) @Nullable default List<CfnDBProxy.TagFormatProperty> getTags()
      An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
    • getVpcSecurityGroupIds

      @Stability(Stable) @Nullable default List<String> getVpcSecurityGroupIds()
      One or more VPC security group IDs to associate with the new proxy.

      If you plan to update the resource, don't specify VPC security groups in a shared VPC.

    • builder

      @Stability(Stable) static CfnDBProxyProps.Builder builder()
      a CfnDBProxyProps.Builder of CfnDBProxyProps