Show / Hide Table of Contents

Interface IDatabaseProxy

DB Proxy.

Inherited Members
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Env
IResource.Stack
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDatabaseProxy : IResource, IConstruct, IDependable
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

string

Remarks

Attribute: true

DbProxyName

DB Proxy Name.

string DbProxyName { get; }
Property Value

string

Remarks

Attribute: true

Endpoint

Endpoint.

string Endpoint { get; }
Property Value

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 string

the name of the database user to allow connecting as to the proxy.

Returns

Grant

Remarks

Default: - if the Proxy had been provided a single Secret value, the user will be taken from that Secret

Back to top Generated by DocFX