Interface IDatabaseProxyEndpointProps
Construction properties for a DatabaseProxyEndpoint.
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDatabaseProxyEndpointProps : IDatabaseProxyEndpointOptions
Syntax (vb)
Public Interface IDatabaseProxyEndpointProps Inherits IDatabaseProxyEndpointOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.RDS;
DatabaseProxy databaseProxy;
SecurityGroup securityGroup;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
var databaseProxyEndpointProps = new DatabaseProxyEndpointProps {
DbProxy = databaseProxy,
Vpc = vpc,
// the properties below are optional
DbProxyEndpointName = "dbProxyEndpointName",
SecurityGroups = new [] { securityGroup },
TargetRole = ProxyEndpointTargetRole.READ_WRITE,
VpcSubnets = new SubnetSelection {
AvailabilityZones = new [] { "availabilityZones" },
OnePerAz = false,
SubnetFilters = new [] { subnetFilter },
SubnetGroupName = "subnetGroupName",
Subnets = new [] { subnet },
SubnetType = SubnetType.PRIVATE_ISOLATED
}
};
Synopsis
Properties
| DbProxy | The DB proxy associated with the DB proxy endpoint. |
Properties
DbProxy
The DB proxy associated with the DB proxy endpoint.
IDatabaseProxy DbProxy { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated