ProxyEndpoint

class ProxyEndpoint : KotlinCustomResource

Provides an RDS DB proxy endpoint resource. For additional information, see the RDS User Guide.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.ProxyEndpoint;
import com.pulumi.aws.rds.ProxyEndpointArgs;
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) {
var example = new ProxyEndpoint("example", ProxyEndpointArgs.builder()
.dbProxyName(aws_db_proxy.test().name())
.dbProxyEndpointName("example")
.vpcSubnetIds(aws_subnet.test().stream().map(element -> element.id()).collect(toList()))
.targetRole("READ_ONLY")
.build());
}
}

Import

DB proxy endpoints can be imported using the DB-PROXY-NAME/DB-PROXY-ENDPOINT-NAME, e.g.,

$ pulumi import aws:rds/proxyEndpoint:ProxyEndpoint example example/example

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) for the proxy endpoint.

Link copied to clipboard

The identifier for the proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Link copied to clipboard
val dbProxyName: Output<String>

The name of the DB proxy associated with the DB proxy endpoint that you create.

Link copied to clipboard
val endpoint: Output<String>

The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isDefault: Output<Boolean>

Indicates whether this endpoint is the default endpoint for the associated DB proxy.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
val targetRole: Output<String>?

Indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is READ_WRITE. Valid values are READ_WRITE and READ_ONLY.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The VPC ID of the DB proxy endpoint.

Link copied to clipboard

One or more VPC security group IDs to associate with the new proxy.

Link copied to clipboard
val vpcSubnetIds: Output<List<String>>

One or more VPC subnet IDs to associate with the new proxy.