@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.490Z") @Stability(value=Stable) 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()
DB Proxy ARN.
|
String |
getDbProxyName()
DB Proxy Name.
|
String |
getEndpoint()
Endpoint.
|
Grant |
grantConnect(IGrantable grantee)
Grant the given identity connection access to the proxy.
|
Grant |
grantConnect(IGrantable grantee,
String dbUser)
Grant the given identity connection access to the proxy.
|
applyRemovalPolicy, getEnv, getStack@Stability(value=Stable) @NotNull String getDbProxyArn()
@Stability(value=Stable) @NotNull String getDbProxyName()
@Stability(value=Stable) @NotNull String getEndpoint()
@Stability(value=Stable) @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=Stable) @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 © 2022. All rights reserved.