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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnDBProxyEndpoint
.static interface
Metadata 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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnDBProxyEndpoint
(Construct scope, String id, CfnDBProxyEndpointProps props) Create a newAWS::RDS::DBProxyEndpoint
.protected
CfnDBProxyEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDBProxyEndpoint
(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.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.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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 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:
inspect
in 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:
renderProperties
in 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:
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.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.
-