Class CfnDBProxyEndpointProps
Properties for defining a CfnDBProxyEndpoint
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class CfnDBProxyEndpointProps : Object, ICfnDBProxyEndpointProps
Syntax (vb)
Public Class CfnDBProxyEndpointProps
Inherits Object
Implements ICfnDBProxyEndpointProps
Remarks
Link: 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
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()
public CfnDBProxyEndpointProps()
Properties
DbProxyEndpointName
The name of the DB proxy endpoint to create.
public string DbProxyEndpointName { get; set; }
Property Value
System.String
Remarks
DbProxyName
The name of the DB proxy associated with the DB proxy endpoint that you create.
public string DbProxyName { get; set; }
Property Value
System.String
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
CfnDBProxyEndpoint.ITagFormatProperty[]
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
System.String
Remarks
Valid Values: READ_WRITE | READ_ONLY
VpcSecurityGroupIds
The VPC security group IDs for the DB proxy endpoint that you create.
public string[] VpcSecurityGroupIds { get; set; }
Property Value
System.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
System.String[]
Remarks
You can specify a different set of subnet IDs than for the original DB proxy.