Interface IDatabaseProxy
DB Proxy.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDatabaseProxy : IResource, IConstruct, IDependable
Syntax (vb)
Public Interface IDatabaseProxy Inherits IResource, IConstruct, IDependable
Synopsis
Properties
DbProxyArn | DB Proxy ARN. |
DbProxyName | DB Proxy Name. |
Endpoint | Endpoint. |
Methods
GrantConnect(IGrantable, string?) | Grant the given identity connection access to the proxy. |
Properties
DbProxyArn
DbProxyName
Endpoint
Methods
GrantConnect(IGrantable, string?)
Grant the given identity connection access to the proxy.
Grant GrantConnect(IGrantable grantee, string? dbUser = null)
Parameters
- grantee IGrantable
the Principal to grant the permissions to.
- dbUser string
the name of the database user to allow connecting as to the proxy.
Returns
Remarks
Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret