Class CfnDBSubnetGroupProps
Properties for defining a CfnDBSubnetGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DocDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBSubnetGroupProps : Object, ICfnDBSubnetGroupProps
Syntax (vb)
Public Class CfnDBSubnetGroupProps
Inherits Object
Implements ICfnDBSubnetGroupProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.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.DocDB;
var cfnDBSubnetGroupProps = new CfnDBSubnetGroupProps {
DbSubnetGroupDescription = "dbSubnetGroupDescription",
SubnetIds = new [] { "subnetIds" },
// the properties below are optional
DbSubnetGroupName = "dbSubnetGroupName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDBSubnetGroupProps() |
Properties
DbSubnetGroupDescription | The description for the subnet group. |
DbSubnetGroupName | The name for the subnet group. This value is stored as a lowercase string. |
SubnetIds | The Amazon EC2 subnet IDs for the subnet group. |
Tags | The tags to be assigned to the subnet group. |
Constructors
CfnDBSubnetGroupProps()
public CfnDBSubnetGroupProps()
Properties
DbSubnetGroupDescription
The description for the subnet group.
public string DbSubnetGroupDescription { get; set; }
Property Value
System.String
Remarks
DbSubnetGroupName
The name for the subnet group. This value is stored as a lowercase string.
public string DbSubnetGroupName { get; set; }
Property Value
System.String
Remarks
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
SubnetIds
The Amazon EC2 subnet IDs for the subnet group.
public string[] SubnetIds { get; set; }
Property Value
System.String[]
Remarks
Tags
The tags to be assigned to the subnet group.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]