Interface IDatabaseProxy
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IDatabaseProxy.Jsii$Default
- All Known Implementing Classes:
DatabaseProxy
,IDatabaseProxy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:25.916Z")
@Stability(Stable)
public interface IDatabaseProxy
extends software.amazon.jsii.JsiiSerializable, IResource
DB Proxy.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIDatabaseProxy
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionDB Proxy ARN.DB Proxy Name.Endpoint.grantConnect
(IGrantable grantee) Grant the given identity connection access to the proxy.grantConnect
(IGrantable grantee, String dbUser) Grant the given identity connection access to the proxy.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbProxyArn
DB Proxy ARN. -
getDbProxyName
DB Proxy Name. -
getEndpoint
Endpoint. -
grantConnect
@Stability(Stable) @NotNull Grant grantConnect(@NotNull IGrantable grantee, @Nullable String dbUser) Grant the given identity connection access to the proxy.Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret
- Parameters:
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.
-
grantConnect
Grant the given identity connection access to the proxy.Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret
- Parameters:
grantee
- the Principal to grant the permissions to. This parameter is required.
-