interface CfnDBProxyEndpointProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.CfnDBProxyEndpointProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBProxyEndpointProps |
Java | software.amazon.awscdk.services.rds.CfnDBProxyEndpointProps |
Python | aws_cdk.aws_rds.CfnDBProxyEndpointProps |
TypeScript | aws-cdk-lib » aws_rds » CfnDBProxyEndpointProps |
Properties for defining a CfnDBProxyEndpoint
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBProxyEndpointProps: rds.CfnDBProxyEndpointProps = {
dbProxyEndpointName: 'dbProxyEndpointName',
dbProxyName: 'dbProxyName',
vpcSubnetIds: ['vpcSubnetIds'],
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
targetRole: 'targetRole',
vpcSecurityGroupIds: ['vpcSecurityGroupIds'],
};
Properties
Name | Type | Description |
---|---|---|
db | string | The name of the DB proxy endpoint to create. |
db | string | The name of the DB proxy associated with the DB proxy endpoint that you create. |
vpc | string[] | The VPC subnet IDs for the DB proxy endpoint that you create. |
tags? | Tag [] | An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. |
target | string | A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. |
vpc | string[] | The VPC security group IDs for the DB proxy endpoint that you create. |
dbProxyEndpointName
Type:
string
The name of the DB proxy endpoint to create.
dbProxyName
Type:
string
The name of the DB proxy associated with the DB proxy endpoint that you create.
vpcSubnetIds
Type:
string[]
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.
tags?
Type:
Tag
[]
(optional)
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
targetRole?
Type:
string
(optional)
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
vpcSecurityGroupIds?
Type:
string[]
(optional)
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.