@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:32.023Z") @Stability(value=Experimental) public interface IDatabaseProxy extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IDatabaseProxy.Jsii$Default
Internal default implementation for
IDatabaseProxy. |
static class |
IDatabaseProxy.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDbProxyArn()
(experimental) DB Proxy ARN.
|
String |
getDbProxyName()
(experimental) DB Proxy Name.
|
String |
getEndpoint()
(experimental) Endpoint.
|
Grant |
grantConnect(IGrantable grantee)
(experimental) Grant the given identity connection access to the proxy.
|
Grant |
grantConnect(IGrantable grantee,
String dbUser)
(experimental) Grant the given identity connection access to the proxy.
|
@Stability(value=Experimental) @NotNull String getDbProxyArn()
@Stability(value=Experimental) @NotNull String getDbProxyName()
@Stability(value=Experimental) @NotNull String getEndpoint()
@Stability(value=Experimental) @NotNull Grant grantConnect(@NotNull IGrantable grantee, @Nullable String dbUser)
Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret
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.@Stability(value=Experimental) @NotNull Grant grantConnect(@NotNull IGrantable grantee)
Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret
grantee - the Principal to grant the permissions to. This parameter is required.Copyright © 2021. All rights reserved.