Class CfnDBProxyEndpoint
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::RDS::DBProxyEndpoint.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDBProxyEndpoint.static interfaceMetadata assigned to a DB proxy endpoint 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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnDBProxyEndpoint(Construct scope, String id, CfnDBProxyEndpointProps props) Create a newAWS::RDS::DBProxyEndpoint.protectedCfnDBProxyEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBProxyEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) representing the DB proxy endpoint.The custom endpoint for the RDS DB instance or Aurora DB cluster.A value that indicates whether this endpoint is the default endpoint for the associated DB proxy.The VPC ID of the DB proxy endpoint.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.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.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.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @NotNull CfnDBProxyEndpointProps props) Create a newAWS::RDS::DBProxyEndpoint.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
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) representing the DB proxy endpoint. -
getAttrEndpoint
The custom endpoint for the RDS DB instance or Aurora DB cluster. -
getAttrIsDefault
A value that 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
The VPC ID of the DB proxy endpoint. -
getCfnProperties
- Overrides:
getCfnPropertiesin 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.You can specify a different set of subnet IDs than for the original DB proxy.
-
setVpcSubnetIds
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.
-
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.Valid Values:
READ_WRITE | READ_ONLY -
setTargetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.Valid Values:
READ_WRITE | READ_ONLY -
getVpcSecurityGroupIds
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.
-
setVpcSecurityGroupIds
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.
-