Interface ICfnDBProxyEndpointProps
Properties for defining a CfnDBProxyEndpoint
.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnDBProxyEndpointProps
Syntax (vb)
Public Interface ICfnDBProxyEndpointProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var cfnDBProxyEndpointProps = new CfnDBProxyEndpointProps {
DbProxyEndpointName = "dbProxyEndpointName",
DbProxyName = "dbProxyName",
VpcSubnetIds = new [] { "vpcSubnetIds" },
// the properties below are optional
Tags = new [] { new TagFormatProperty {
Key = "key",
Value = "value"
} },
TargetRole = "targetRole",
VpcSecurityGroupIds = new [] { "vpcSecurityGroupIds" }
};
Synopsis
Properties
DbProxyEndpointName | The name of the DB proxy endpoint to create. |
DbProxyName | The name of the DB proxy associated with the DB proxy endpoint that you create. |
Tags | An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. |
TargetRole | A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. |
VpcSecurityGroupIds | The VPC security group IDs for the DB proxy endpoint that you create. |
VpcSubnetIds | The VPC subnet IDs for the DB proxy endpoint that you create. |
Properties
DbProxyEndpointName
The name of the DB proxy endpoint to create.
string DbProxyEndpointName { get; }
Property Value
Remarks
DbProxyName
The name of the DB proxy associated with the DB proxy endpoint that you create.
string DbProxyName { get; }
Property Value
Remarks
Tags
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
CfnDBProxyEndpoint.ITagFormatProperty[]? Tags { get; }
Property Value
Remarks
TargetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
string? TargetRole { get; }
Property Value
Remarks
VpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create.
string[]? VpcSecurityGroupIds { get; }
Property Value
string[]
Remarks
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.
VpcSubnetIds
The VPC subnet IDs for the DB proxy endpoint that you create.
string[] VpcSubnetIds { get; }
Property Value
string[]
Remarks
You can specify a different set of subnet IDs than for the original DB proxy.