getProxy

suspend fun getProxy(argument: GetProxyPlainArgs): GetProxyResult

Use this data source to get information about a DB Proxy.

Example Usage

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.List;
import java.util.ArrayList;
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());
}
}

Return

A collection of values returned by getProxy.

Parameters

argument

A collection of arguments for invoking getProxy.


suspend fun getProxy(name: String): GetProxyResult

Return

A collection of values returned by getProxy.

Parameters

name

Name of the DB proxy.

See also


suspend fun getProxy(argument: suspend GetProxyPlainArgsBuilder.() -> Unit): GetProxyResult

Return

A collection of values returned by getProxy.

Parameters

argument

Builder for com.pulumi.aws.rds.kotlin.inputs.GetProxyPlainArgs.

See also