Interface IDatabaseProxy
DB Proxy.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDatabaseProxy : IResource
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
DB Proxy ARN.
string DbProxyArn { get; }
Property Value
System.String
Remarks
Attribute: true
DbProxyName
DB Proxy Name.
string DbProxyName { get; }
Property Value
System.String
Remarks
Attribute: true
Endpoint
Endpoint.
string Endpoint { get; }
Property Value
System.String
Remarks
Attribute: true
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 System.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