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
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:04.072Z")
@Stability(Stable)
public class CfnDBProxyEndpoint
extends CfnResource
implements IInspectable, 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 .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 class
A fluent builder forCfnDBProxyEndpoint
.static interface
Metadata 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnDBProxyEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDBProxyEndpoint
(software.amazon.jsii.JsiiObjectRef objRef) CfnDBProxyEndpoint
(software.constructs.Construct scope, String id, CfnDBProxyEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.The name of the DB proxy associated with the DB proxy endpoint that you create.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDbProxyEndpointName
(String value) The name of the DB proxy endpoint to create.void
setDbProxyName
(String value) The name of the DB proxy associated with the DB proxy endpoint that you create.void
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.void
setTargetRole
(String value) A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.void
setVpcSecurityGroupIds
(List<String> value) The VPC security group IDs for the DB proxy endpoint that you create.void
setVpcSubnetIds
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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.
-