@Internal public static final class IDatabaseProxy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IDatabaseProxy.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIDatabaseProxy.Jsii$Default, IDatabaseProxy.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDbProxyArn()
(experimental) DB Proxy ARN.
|
String |
getDbProxyName()
(experimental) DB Proxy Name.
|
String |
getEndpoint()
(experimental) Endpoint.
|
ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
software.constructs.Node |
getNode()
The tree node.
|
Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
Grant |
grantConnect(IGrantable grantee)
(experimental) Grant the given identity connection access to the proxy.
|
Grant |
grantConnect(IGrantable grantee,
String dbUser)
(experimental) Grant the given identity connection access to the proxy.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IDatabaseProxy.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Experimental) @NotNull public final ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$DefaultgetEnv in interface IDatabaseProxy.Jsii$Default@Stability(value=Experimental) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IDatabaseProxy.Jsii$Default@Stability(value=Experimental) @NotNull public final String getDbProxyArn()
getDbProxyArn in interface IDatabaseProxygetDbProxyArn in interface IDatabaseProxy.Jsii$Default@Stability(value=Experimental) @NotNull public final String getDbProxyName()
getDbProxyName in interface IDatabaseProxygetDbProxyName in interface IDatabaseProxy.Jsii$Default@Stability(value=Experimental) @NotNull public final String getEndpoint()
getEndpoint in interface IDatabaseProxygetEndpoint in interface IDatabaseProxy.Jsii$Default@Stability(value=Experimental) @NotNull public final Grant grantConnect(@NotNull IGrantable grantee, @Nullable String dbUser)
Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret
grantConnect in interface IDatabaseProxygrantConnect in interface IDatabaseProxy.Jsii$Defaultgrantee - 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.@Stability(value=Experimental) @NotNull public final Grant grantConnect(@NotNull IGrantable grantee)
Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret
grantConnect in interface IDatabaseProxygrantee - the Principal to grant the permissions to. This parameter is required.Copyright © 2021. All rights reserved.