Class CfnDBProxyEndpointProps
Properties for defining a CfnDBProxyEndpoint
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBProxyEndpointProps : ICfnDBProxyEndpointProps
Syntax (vb)
Public Class CfnDBProxyEndpointProps Implements 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
Constructors
CfnDBProxyEndpointProps() | Properties for defining a |
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. |
Constructors
CfnDBProxyEndpointProps()
Properties for defining a CfnDBProxyEndpoint
.
public CfnDBProxyEndpointProps()
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" }
};
Properties
DbProxyEndpointName
The name of the DB proxy endpoint to create.
public string DbProxyEndpointName { get; set; }
Property Value
Remarks
DbProxyName
The name of the DB proxy associated with the DB proxy endpoint that you create.
public string DbProxyName { get; set; }
Property Value
Remarks
Tags
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
public CfnDBProxyEndpoint.ITagFormatProperty[]? Tags { get; set; }
Property Value
Remarks
TargetRole
A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
public string? TargetRole { get; set; }
Property Value
Remarks
VpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create.
public string[]? VpcSecurityGroupIds { get; set; }
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.
public string[] VpcSubnetIds { get; set; }
Property Value
string[]
Remarks
You can specify a different set of subnet IDs than for the original DB proxy.