Interface IDatabaseProxy

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IDatabaseProxy.Jsii$Default
All Known Implementing Classes:
DatabaseProxy, IDatabaseProxy.Jsii$Proxy

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:34.069Z") @Stability(Stable) public interface IDatabaseProxy extends software.amazon.jsii.JsiiSerializable, IResource
DB Proxy.
  • Method Details

    • getDbProxyArn

      @Stability(Stable) @NotNull String getDbProxyArn()
      DB Proxy ARN.
    • getDbProxyName

      @Stability(Stable) @NotNull String getDbProxyName()
      DB Proxy Name.
    • getEndpoint

      @Stability(Stable) @NotNull String getEndpoint()
      Endpoint.
    • grantConnect

      @Stability(Stable) @NotNull Grant grantConnect(@NotNull IGrantable grantee, @Nullable String dbUser)
      Grant the given identity connection access to the proxy.

      Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret

      Parameters:
      grantee - the Principal to grant the permissions to. This parameter is required.
      dbUser - the name of the database user to allow connecting as to the proxy.
    • grantConnect

      @Stability(Stable) @NotNull Grant grantConnect(@NotNull IGrantable grantee)
      Grant the given identity connection access to the proxy.

      Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret

      Parameters:
      grantee - the Principal to grant the permissions to. This parameter is required.