Interface IDatabaseProxy

All Superinterfaces:
IConstruct, software.constructs.IConstruct, 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.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.198Z") @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.