Show / Hide Table of Contents

Class CfnDBSubnetGroupProps

Properties for defining a CfnDBSubnetGroup.

Inheritance
System.Object
CfnDBSubnetGroupProps
Implements
ICfnDBSubnetGroupProps
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class CfnDBSubnetGroupProps : Object, ICfnDBSubnetGroupProps
Syntax (vb)
Public Class CfnDBSubnetGroupProps
    Inherits Object
    Implements ICfnDBSubnetGroupProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-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.RDS;

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 DB subnet group.

DbSubnetGroupName

The name for the DB subnet group. This value is stored as a lowercase string.

SubnetIds

The EC2 Subnet IDs for the DB subnet group.

Tags

An optional array of key-value pairs to apply to this DB subnet group.

Constructors

CfnDBSubnetGroupProps()

public CfnDBSubnetGroupProps()

Properties

DbSubnetGroupDescription

The description for the DB subnet group.

public string DbSubnetGroupDescription { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-dbsubnetgroupdescription

DbSubnetGroupName

The name for the DB 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 lowercase alphanumeric characters or hyphens. Must not be "Default".

Example: mysubnetgroup

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-dbsubnetgroupname

SubnetIds

The EC2 Subnet IDs for the DB subnet group.

public string[] SubnetIds { get; set; }
Property Value

System.String[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-subnetids

Tags

An optional array of key-value pairs to apply to this DB subnet group.

public ICfnTag[] Tags { get; set; }
Property Value

ICfnTag[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-tags

Implements

ICfnDBSubnetGroupProps
Back to top Generated by DocFX