@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.878Z") @Stability(value=Experimental) public class DatabaseProxy extends Resource implements IConnectable, ISecretAttachmentTarget, IDatabaseProxy
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseProxy.Builder
(experimental) A fluent builder for
DatabaseProxy. |
software.amazon.jsii.JsiiObject.InitializationModeIConnectable.Jsii$Default, IConnectable.Jsii$ProxyISecretAttachmentTarget.Jsii$Default, ISecretAttachmentTarget.Jsii$ProxyIDatabaseProxy.Jsii$Default, IDatabaseProxy.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
DatabaseProxy(software.constructs.Construct scope,
String id,
DatabaseProxyProps props) |
protected |
DatabaseProxy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DatabaseProxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
SecretAttachmentTargetProps |
asSecretAttachmentTarget()
(experimental) Renders the secret attachment target specifications.
|
static IDatabaseProxy |
fromDatabaseProxyAttributes(software.constructs.Construct scope,
String id,
DatabaseProxyAttributes attrs)
(experimental) Import an existing database proxy.
|
Connections |
getConnections()
(experimental) Access to network connections.
|
String |
getDbProxyArn()
(experimental) DB Proxy ARN.
|
String |
getDbProxyName()
(experimental) DB Proxy Name.
|
String |
getEndpoint()
(experimental) Endpoint.
|
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.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected DatabaseProxy(software.amazon.jsii.JsiiObjectRef objRef)
protected DatabaseProxy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public DatabaseProxy(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
DatabaseProxyProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IDatabaseProxy fromDatabaseProxyAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseProxyAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public SecretAttachmentTargetProps asSecretAttachmentTarget()
asSecretAttachmentTarget in interface ISecretAttachmentTarget@Stability(value=Experimental) @NotNull public Grant grantConnect(@NotNull IGrantable grantee, @Nullable String dbUser)
grantConnect in interface IDatabaseProxygrantee - This parameter is required.dbUser - @Stability(value=Experimental) @NotNull public Grant grantConnect(@NotNull IGrantable grantee)
grantConnect in interface IDatabaseProxygrantee - This parameter is required.@Stability(value=Experimental) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Experimental) @NotNull public String getDbProxyArn()
getDbProxyArn in interface IDatabaseProxy@Stability(value=Experimental) @NotNull public String getDbProxyName()
getDbProxyName in interface IDatabaseProxy@Stability(value=Experimental) @NotNull public String getEndpoint()
getEndpoint in interface IDatabaseProxyCopyright © 2021. All rights reserved.