Interface IDatabaseProxy
- All Superinterfaces:
IConstruct
,software.constructs.IConstruct
,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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.198Z")
@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.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.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.
-