# CfnDBProxyEndpointProps

Properties for defining a `CfnDBProxyEndpoint`.

Extends: CfnDBProxyEndpointProps
Used as props by: CfnDBProxyEndpoint

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBProxyEndpointProps: rds.CfnDBProxyEndpointProps = {
  dbProxyEndpointName: 'dbProxyEndpointName',
  dbProxyName: 'dbProxyName',
  vpcSubnetIds: ['vpcSubnetIds'],

  // the properties below are optional
  endpointNetworkType: 'endpointNetworkType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  targetRole: 'targetRole',
  vpcSecurityGroupIds: ['vpcSecurityGroupIds'],
};
```

## Properties

- `dbProxyEndpointName`: string (required) — The name of the DB proxy endpoint to create.

- `dbProxyName`: string (required) — The name of the DB proxy associated with the DB proxy endpoint that you create.

- `endpointNetworkType`: string — The network type of the DB proxy endpoint.

  The network type determines the IP version that the proxy endpoint supports.

  Valid values:

  - `IPV4` - The proxy endpoint supports IPv4 only.
  - `IPV6` - The proxy endpoint supports IPv6 only.
  - `DUAL` - The proxy endpoint supports both IPv4 and IPv6.

- `tags`: [CfnDBProxyEndpoint.TagFormatProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_rds.CfnDBProxyEndpoint.TagFormatProperty.html)[] — An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.

- `targetRole`: string — A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.

- `vpcSecurityGroupIds`: string | [ISecurityGroupRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ISecurityGroupRef.html)[] — The VPC security group IDs for the DB proxy endpoint that you create.

  You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.

- `vpcSubnetIds`: string | [ISubnetRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ISubnetRef.html)[] (required) — The VPC subnet IDs for the DB proxy endpoint that you create.

  You can specify a different set of subnet IDs than for the original DB proxy.
