Class CfnDBProxyEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.rds.CfnDBProxyEndpoint
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IDBProxyEndpointRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:43.740Z")
@Stability(Stable)
public class CfnDBProxyEndpoint
extends CfnResource
implements IInspectable, IDBProxyEndpointRef, ITaggableV2
The
AWS::RDS::DBProxyEndpoint resource creates or updates a DB proxy endpoint.
You can use custom proxy endpoints to access a proxy through a different VPC than the proxy's default VPC.
For more information about RDS Proxy, see AWS::RDS::DBProxy .
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.rds.*;
CfnDBProxyEndpoint cfnDBProxyEndpoint = CfnDBProxyEndpoint.Builder.create(this, "MyCfnDBProxyEndpoint")
.dbProxyEndpointName("dbProxyEndpointName")
.dbProxyName("dbProxyName")
.vpcSubnetIds(List.of("vpcSubnetIds"))
// the properties below are optional
.endpointNetworkType("endpointNetworkType")
.tags(List.of(TagFormatProperty.builder()
.key("key")
.value("value")
.build()))
.targetRole("targetRole")
.vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDBProxyEndpoint.static interfaceMetadata assigned to an Amazon RDS resource consisting of a key-value pair.Nested 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.interfaces.rds.IDBProxyEndpointRef
IDBProxyEndpointRef.Jsii$Default, IDBProxyEndpointRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDBProxyEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBProxyEndpoint(software.amazon.jsii.JsiiObjectRef objRef) CfnDBProxyEndpoint(software.constructs.Construct scope, String id, CfnDBProxyEndpointProps props) Create a newAWS::RDS::DBProxyEndpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForDBProxyEndpoint(IDBProxyEndpointRef resource) The Amazon Resource Name (ARN) for the DB proxy endpoint.The endpoint that you can use to connect to the DB proxy.Indicates whether this endpoint is the default endpoint for the associated DB proxy.Provides the VPC ID of the DB proxy endpoint.Tag Manager which manages the tags for this resource.The name of the DB proxy endpoint to create.A reference to a DBProxyEndpoint resource.The name of the DB proxy associated with the DB proxy endpoint that you create.The network type of the DB proxy endpoint.getTags()An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.The VPC security group IDs for the DB proxy endpoint that you create.The VPC subnet IDs for the DB proxy endpoint that you create.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDBProxyEndpoint.renderProperties(Map<String, Object> props) voidsetDbProxyEndpointName(String value) The name of the DB proxy endpoint to create.voidsetDbProxyName(String value) The name of the DB proxy associated with the DB proxy endpoint that you create.voidsetEndpointNetworkType(String value) The network type of the DB proxy endpoint.voidAn optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.voidsetTargetRole(String value) A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.voidsetVpcSecurityGroupIds(List<String> value) The VPC security group IDs for the DB proxy endpoint that you create.voidsetVpcSubnetIds(List<String> value) The VPC subnet IDs for the DB proxy endpoint that you create.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDBProxyEndpoint
protected CfnDBProxyEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDBProxyEndpoint
protected CfnDBProxyEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDBProxyEndpoint
@Stability(Stable) public CfnDBProxyEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDBProxyEndpointProps props) Create a newAWS::RDS::DBProxyEndpoint.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForDBProxyEndpoint
@Stability(Stable) @NotNull public static String arnForDBProxyEndpoint(@NotNull IDBProxyEndpointRef resource) - Parameters:
resource- This parameter is required.
-
isCfnDBProxyEndpoint
Checks whether the given object is a CfnDBProxyEndpoint.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrDbProxyEndpointArn
The Amazon Resource Name (ARN) for the DB proxy endpoint. -
getAttrEndpoint
The endpoint that you can use to connect to the DB proxy.You include the endpoint value in the connection string for a database client application.
-
getAttrIsDefault
Indicates whether this endpoint is the default endpoint for the associated DB proxy.Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only.
-
getAttrVpcId
Provides the VPC ID of the DB proxy endpoint. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDbProxyEndpointRef
A reference to a DBProxyEndpoint resource.- Specified by:
getDbProxyEndpointRefin interfaceIDBProxyEndpointRef
-
getDbProxyEndpointName
The name of the DB proxy endpoint to create. -
setDbProxyEndpointName
The name of the DB proxy endpoint to create. -
getDbProxyName
The name of the DB proxy associated with the DB proxy endpoint that you create. -
setDbProxyName
The name of the DB proxy associated with the DB proxy endpoint that you create. -
getVpcSubnetIds
The VPC subnet IDs for the DB proxy endpoint that you create. -
setVpcSubnetIds
The VPC subnet IDs for the DB proxy endpoint that you create. -
getEndpointNetworkType
The network type of the DB proxy endpoint. -
setEndpointNetworkType
The network type of the DB proxy endpoint. -
getTags
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. -
setTags
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. -
getTargetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. -
setTargetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. -
getVpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create. -
setVpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create.
-