Viewing docs for AWS v7.47.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Viewing docs for AWS v7.47.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Use this data source to get information about a DB Proxy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const proxy = aws.rds.getProxy({
name: "my-test-db-proxy",
});
import pulumi
import pulumi_aws as aws
proxy = aws.rds.get_proxy(name="my-test-db-proxy")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/rds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds.LookupProxy(ctx, &rds.LookupProxyArgs{
Name: "my-test-db-proxy",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var proxy = Aws.Rds.GetProxy.Invoke(new()
{
Name = "my-test-db-proxy",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.RdsFunctions;
import com.pulumi.aws.rds.inputs.GetProxyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var proxy = RdsFunctions.getProxy(GetProxyArgs.builder()
.name("my-test-db-proxy")
.build());
}
}
variables:
proxy:
fn::invoke:
function: aws:rds:getProxy
arguments:
name: my-test-db-proxy
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_rds_getproxy" "proxy" {
name = "my-test-db-proxy"
}
Using getProxy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProxy(args: GetProxyArgs, opts?: InvokeOptions): Promise<GetProxyResult>
function getProxyOutput(args: GetProxyOutputArgs, opts?: InvokeOutputOptions): Output<GetProxyResult>def get_proxy(name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProxyResult
def get_proxy_output(name: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetProxyResult]func LookupProxy(ctx *Context, args *LookupProxyArgs, opts ...InvokeOption) (*LookupProxyResult, error)
func LookupProxyOutput(ctx *Context, args *LookupProxyOutputArgs, opts ...InvokeOption) LookupProxyResultOutput> Note: This function is named LookupProxy in the Go SDK.
public static class GetProxy
{
public static Task<GetProxyResult> InvokeAsync(GetProxyArgs args, InvokeOptions? opts = null)
public static Output<GetProxyResult> Invoke(GetProxyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetProxyResult> Invoke(GetProxyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetProxyResult> getProxy(GetProxyArgs args, InvokeOptions options)
public static Output<GetProxyResult> getProxy(GetProxyArgs args, InvokeOptions options)
public static Output<GetProxyResult> getProxy(GetProxyArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws:rds/getProxy:getProxy
arguments:
# arguments dictionarydata "aws_rds_get_proxy" "name" {
# arguments
}The following arguments are supported:
getProxy Result
The following output properties are available:
- Arn string
- ARN of the DB Proxy.
- Auths
List<Get
Proxy Auth> - Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - Debug
Logging bool - Whether the proxy includes detailed information about SQL statements in its logs.
- Default
Auth stringScheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- Endpoint string
- Endpoint that you can use to connect to the DB proxy.
- Endpoint
Network stringType - Network type of the DB proxy endpoint.
- Engine
Family string - Kinds of databases that the proxy can connect to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Idle
Client intTimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- Name string
- Region string
- Require
Tls bool - Whether TLS encryption is required for connections to the proxy.
- Role
Arn string - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- Target
Connection stringNetwork Type - Network type that the proxy uses to connect to the target database.
- Vpc
Id string - Provides the VPC ID of the DB proxy.
- Vpc
Security List<string>Group Ids - Provides a list of VPC security groups that the proxy belongs to.
- Vpc
Subnet List<string>Ids - EC2 subnet IDs for the proxy.
- Arn string
- ARN of the DB Proxy.
- Auths
[]Get
Proxy Auth - Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - Debug
Logging bool - Whether the proxy includes detailed information about SQL statements in its logs.
- Default
Auth stringScheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- Endpoint string
- Endpoint that you can use to connect to the DB proxy.
- Endpoint
Network stringType - Network type of the DB proxy endpoint.
- Engine
Family string - Kinds of databases that the proxy can connect to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Idle
Client intTimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- Name string
- Region string
- Require
Tls bool - Whether TLS encryption is required for connections to the proxy.
- Role
Arn string - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- Target
Connection stringNetwork Type - Network type that the proxy uses to connect to the target database.
- Vpc
Id string - Provides the VPC ID of the DB proxy.
- Vpc
Security []stringGroup Ids - Provides a list of VPC security groups that the proxy belongs to.
- Vpc
Subnet []stringIds - EC2 subnet IDs for the proxy.
- arn string
- ARN of the DB Proxy.
- auths list(object)
- Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - debug_
logging bool - Whether the proxy includes detailed information about SQL statements in its logs.
- default_
auth_ stringscheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- endpoint string
- Endpoint that you can use to connect to the DB proxy.
- endpoint_
network_ stringtype - Network type of the DB proxy endpoint.
- engine_
family string - Kinds of databases that the proxy can connect to.
- id string
- The provider-assigned unique ID for this managed resource.
- idle_
client_ numbertimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- name string
- region string
- require_
tls bool - Whether TLS encryption is required for connections to the proxy.
- role_
arn string - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- target_
connection_ stringnetwork_ type - Network type that the proxy uses to connect to the target database.
- vpc_
id string - Provides the VPC ID of the DB proxy.
- vpc_
security_ list(string)group_ ids - Provides a list of VPC security groups that the proxy belongs to.
- vpc_
subnet_ list(string)ids - EC2 subnet IDs for the proxy.
- arn String
- ARN of the DB Proxy.
- auths
List<Get
Proxy Auth> - Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - debug
Logging Boolean - Whether the proxy includes detailed information about SQL statements in its logs.
- default
Auth StringScheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- endpoint String
- Endpoint that you can use to connect to the DB proxy.
- endpoint
Network StringType - Network type of the DB proxy endpoint.
- engine
Family String - Kinds of databases that the proxy can connect to.
- id String
- The provider-assigned unique ID for this managed resource.
- idle
Client IntegerTimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- name String
- region String
- require
Tls Boolean - Whether TLS encryption is required for connections to the proxy.
- role
Arn String - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- target
Connection StringNetwork Type - Network type that the proxy uses to connect to the target database.
- vpc
Id String - Provides the VPC ID of the DB proxy.
- vpc
Security List<String>Group Ids - Provides a list of VPC security groups that the proxy belongs to.
- vpc
Subnet List<String>Ids - EC2 subnet IDs for the proxy.
- arn string
- ARN of the DB Proxy.
- auths
Get
Proxy Auth[] - Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - debug
Logging boolean - Whether the proxy includes detailed information about SQL statements in its logs.
- default
Auth stringScheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- endpoint string
- Endpoint that you can use to connect to the DB proxy.
- endpoint
Network stringType - Network type of the DB proxy endpoint.
- engine
Family string - Kinds of databases that the proxy can connect to.
- id string
- The provider-assigned unique ID for this managed resource.
- idle
Client numberTimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- name string
- region string
- require
Tls boolean - Whether TLS encryption is required for connections to the proxy.
- role
Arn string - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- target
Connection stringNetwork Type - Network type that the proxy uses to connect to the target database.
- vpc
Id string - Provides the VPC ID of the DB proxy.
- vpc
Security string[]Group Ids - Provides a list of VPC security groups that the proxy belongs to.
- vpc
Subnet string[]Ids - EC2 subnet IDs for the proxy.
- arn str
- ARN of the DB Proxy.
- auths
Sequence[Get
Proxy Auth] - Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - debug_
logging bool - Whether the proxy includes detailed information about SQL statements in its logs.
- default_
auth_ strscheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- endpoint str
- Endpoint that you can use to connect to the DB proxy.
- endpoint_
network_ strtype - Network type of the DB proxy endpoint.
- engine_
family str - Kinds of databases that the proxy can connect to.
- id str
- The provider-assigned unique ID for this managed resource.
- idle_
client_ inttimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- name str
- region str
- require_
tls bool - Whether TLS encryption is required for connections to the proxy.
- role_
arn str - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- target_
connection_ strnetwork_ type - Network type that the proxy uses to connect to the target database.
- vpc_
id str - Provides the VPC ID of the DB proxy.
- vpc_
security_ Sequence[str]group_ ids - Provides a list of VPC security groups that the proxy belongs to.
- vpc_
subnet_ Sequence[str]ids - EC2 subnet IDs for the proxy.
- arn String
- ARN of the DB Proxy.
- auths List<Property Map>
- Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. See the
authblock below. - debug
Logging Boolean - Whether the proxy includes detailed information about SQL statements in its logs.
- default
Auth StringScheme - Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database.
- endpoint String
- Endpoint that you can use to connect to the DB proxy.
- endpoint
Network StringType - Network type of the DB proxy endpoint.
- engine
Family String - Kinds of databases that the proxy can connect to.
- id String
- The provider-assigned unique ID for this managed resource.
- idle
Client NumberTimeout - Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
- name String
- region String
- require
Tls Boolean - Whether TLS encryption is required for connections to the proxy.
- role
Arn String - ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
- target
Connection StringNetwork Type - Network type that the proxy uses to connect to the target database.
- vpc
Id String - Provides the VPC ID of the DB proxy.
- vpc
Security List<String>Group Ids - Provides a list of VPC security groups that the proxy belongs to.
- vpc
Subnet List<String>Ids - EC2 subnet IDs for the proxy.
Supporting Types
GetProxyAuth
- Auth
Scheme string - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- Client
Password stringAuth Type - Type of authentication the proxy uses for connections from clients.
- Description string
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- Iam
Auth string - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- Secret
Arn string - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- Username string
- Name of the database user to which the proxy connects.
- Auth
Scheme string - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- Client
Password stringAuth Type - Type of authentication the proxy uses for connections from clients.
- Description string
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- Iam
Auth string - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- Secret
Arn string - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- Username string
- Name of the database user to which the proxy connects.
- auth_
scheme string - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- client_
password_ stringauth_ type - Type of authentication the proxy uses for connections from clients.
- description string
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- iam_
auth string - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- secret_
arn string - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- username string
- Name of the database user to which the proxy connects.
- auth
Scheme String - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- client
Password StringAuth Type - Type of authentication the proxy uses for connections from clients.
- description String
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- iam
Auth String - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- secret
Arn String - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- username String
- Name of the database user to which the proxy connects.
- auth
Scheme string - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- client
Password stringAuth Type - Type of authentication the proxy uses for connections from clients.
- description string
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- iam
Auth string - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- secret
Arn string - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- username string
- Name of the database user to which the proxy connects.
- auth_
scheme str - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- client_
password_ strauth_ type - Type of authentication the proxy uses for connections from clients.
- description str
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- iam_
auth str - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- secret_
arn str - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- username str
- Name of the database user to which the proxy connects.
- auth
Scheme String - Type of authentication that the proxy uses for connections from the proxy to the underlying database.
- client
Password StringAuth Type - Type of authentication the proxy uses for connections from clients.
- description String
- User-specified description about the authentication used by a proxy to log in as a specific database user.
- iam
Auth String - Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy.
- secret
Arn String - ARN representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster.
- username String
- Name of the database user to which the proxy connects.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.47.0
published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi