@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:37.124Z") public interface IDatabaseProxy extends 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 |
---|---|
java.lang.String |
getDbProxyArn()
DB Proxy ARN.
|
java.lang.String |
getDbProxyName()
DB Proxy Name.
|
java.lang.String |
getEndpoint()
Endpoint.
|
Grant |
grantConnect(IGrantable grantee)
Grant the given identity connection access to the proxy.
|
Grant |
grantConnect(IGrantable grantee,
java.lang.String dbUser)
Grant the given identity connection access to the proxy.
|
applyRemovalPolicy, getEnv, getStack
getNode
java.lang.String getDbProxyArn()
java.lang.String getDbProxyName()
java.lang.String getEndpoint()
Grant grantConnect(IGrantable grantee, java.lang.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.Grant grantConnect(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.