Class DatabaseProxyEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.rds.DatabaseProxyEndpoint
- All Implemented Interfaces:
IEnvironmentAware,IResource,IDatabaseProxyEndpoint,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:59.143Z")
@Stability(Stable)
public class DatabaseProxyEndpoint
extends Resource
implements IDatabaseProxyEndpoint
RDS Database Proxy Endpoint.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.rds.*;
DatabaseProxy databaseProxy;
SecurityGroup securityGroup;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
DatabaseProxyEndpoint databaseProxyEndpoint = DatabaseProxyEndpoint.Builder.create(this, "MyDatabaseProxyEndpoint")
.dbProxy(databaseProxy)
.vpc(vpc)
// the properties below are optional
.dbProxyEndpointName("dbProxyEndpointName")
.securityGroups(List.of(securityGroup))
.targetRole(ProxyEndpointTargetRole.READ_WRITE)
.vpcSubnets(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnets(List.of(subnet))
.subnetType(SubnetType.PRIVATE_ISOLATED)
.build())
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.IDatabaseProxyEndpoint
IDatabaseProxyEndpoint.Jsii$Default, IDatabaseProxyEndpoint.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatabaseProxyEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDatabaseProxyEndpoint(software.amazon.jsii.JsiiObjectRef objRef) DatabaseProxyEndpoint(software.constructs.Construct scope, String id, DatabaseProxyEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDatabaseProxyEndpointfromDatabaseProxyEndpointAttributes(software.constructs.Construct scope, String id, DatabaseProxyEndpointAttributes attrs) Import an existing database proxy endpoint.DB Proxy Endpoint ARN.DB Proxy Endpoint Name.The endpoint that you can use to connect to the DB proxy.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
DatabaseProxyEndpoint
protected DatabaseProxyEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
DatabaseProxyEndpoint
protected DatabaseProxyEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
DatabaseProxyEndpoint
@Stability(Stable) public DatabaseProxyEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseProxyEndpointProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromDatabaseProxyEndpointAttributes
@Stability(Stable) @NotNull public static IDatabaseProxyEndpoint fromDatabaseProxyEndpointAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DatabaseProxyEndpointAttributes attrs) Import an existing database proxy endpoint.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
getDbProxyEndpointArn
DB Proxy Endpoint ARN.- Specified by:
getDbProxyEndpointArnin interfaceIDatabaseProxyEndpoint
-
getDbProxyEndpointName
DB Proxy Endpoint Name.- Specified by:
getDbProxyEndpointNamein interfaceIDatabaseProxyEndpoint
-
getEndpoint
The endpoint that you can use to connect to the DB proxy.- Specified by:
getEndpointin interfaceIDatabaseProxyEndpoint
-