Show / Hide Table of Contents

Class CfnDBSubnetGroupProps

Properties for defining a CfnDBSubnetGroup.

Inheritance
object
CfnDBSubnetGroupProps
Implements
ICfnDBSubnetGroupProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDBSubnetGroupProps : ICfnDBSubnetGroupProps
Syntax (vb)
Public Class CfnDBSubnetGroupProps Implements ICfnDBSubnetGroupProps
Remarks

See: 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 for defining a CfnDBSubnetGroup.

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

Tags to assign to the DB subnet group.

Constructors

CfnDBSubnetGroupProps()

Properties for defining a CfnDBSubnetGroup.

public CfnDBSubnetGroupProps()
Remarks

See: 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"
                 } }
             };

Properties

DbSubnetGroupDescription

The description for the DB subnet group.

public string DbSubnetGroupDescription { get; set; }
Property Value

string

Remarks

See: 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

string

Remarks

Constraints:

    Example: mydbsubnetgroup

    See: 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

    string[]

    Remarks

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

    Tags

    Tags to assign to the DB subnet group.

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

    ICfnTag[]

    Remarks

    See: 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